Files
vrchatapi-rust/patches/InviteMessageType-Display.rs
2022-12-05 00:43:30 +01:00

10 lines
380 B
Rust

impl std::fmt::Display for InviteMessageType {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Self::Message => write!(f, "message"),
Self::Response => write!(f, "response"),
Self::Request => write!(f, "request"),
Self::RequestResponse => write!(f, "requestResponse"),
}
}
}