#[repr(transparent)]pub struct Event(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl Event
impl Event
pub const NONE: Self
pub const Insert: Self
pub const Delete: Self
pub const Update: Self
pub const ENUM_MIN: u8 = 0u8
pub const ENUM_MAX: u8 = 3u8
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl EndianScalar for Event
impl EndianScalar for Event
Source§impl Ord for Event
impl Ord for Event
Source§impl PartialOrd for Event
impl PartialOrd for Event
Source§impl<'a> Verifiable for Event
impl<'a> Verifiable for Event
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for Event
impl Eq for Event
impl SimpleToVerifyInSlice for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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