#[non_exhaustive]pub enum EventFormatVersion {
V1,
V2,
V3,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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 Freeze for EventFormatVersion
impl RefUnwindSafe for EventFormatVersion
impl Send for EventFormatVersion
impl Sync for EventFormatVersion
impl Unpin for EventFormatVersion
impl UnwindSafe for EventFormatVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more