Enum ruma::state_res::room_version::EventFormatVersion
source · [−]pub enum EventFormatVersion {
V1,
V2,
V3,
}
Available on crate feature
state-res
only.Variants
V1
$id:server event id format
V2
MSC1659-style $hash event id format: introduced for room v3
V3
MSC1884-style $hash format: introduced for room v4
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventFormatVersion
impl Send for EventFormatVersion
impl Sync for EventFormatVersion
impl Unpin for EventFormatVersion
impl UnwindSafe for EventFormatVersion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more