pub struct GuardedMessageEvent {
pub is_start: bool,
}Fields§
§is_start: boolTrait Implementations§
Source§impl Archive for GuardedMessageEvent
impl Archive for GuardedMessageEvent
Source§type Archived = ArchivedGuardedMessageEvent
type Archived = ArchivedGuardedMessageEvent
The archived representation of this type. Read more
Source§type Resolver = GuardedMessageEventResolver
type Resolver = GuardedMessageEventResolver
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
Source§impl Clone for GuardedMessageEvent
impl Clone for GuardedMessageEvent
Source§fn clone(&self) -> GuardedMessageEvent
fn clone(&self) -> GuardedMessageEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuardedMessageEvent
impl Debug for GuardedMessageEvent
Source§impl<__D: Fallible + ?Sized> Deserialize<GuardedMessageEvent, __D> for Archived<GuardedMessageEvent>
impl<__D: Fallible + ?Sized> Deserialize<GuardedMessageEvent, __D> for Archived<GuardedMessageEvent>
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<GuardedMessageEvent, __D::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<GuardedMessageEvent, __D::Error>
Deserializes using the given deserializer
Source§impl From<GuardedMessageEvent> for GuardedMessageEvent
impl From<GuardedMessageEvent> for GuardedMessageEvent
Source§fn from(event: TimelyGuardedMessageEvent) -> Self
fn from(event: TimelyGuardedMessageEvent) -> Self
Converts to this type from the input type.
Source§impl From<GuardedMessageEvent> for TimelyEvent
impl From<GuardedMessageEvent> for TimelyEvent
Source§fn from(v: GuardedMessageEvent) -> Self
fn from(v: GuardedMessageEvent) -> Self
Converts to this type from the input type.
Source§impl Hash for GuardedMessageEvent
impl Hash for GuardedMessageEvent
Source§impl Ord for GuardedMessageEvent
impl Ord for GuardedMessageEvent
Source§fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GuardedMessageEvent
impl PartialEq for GuardedMessageEvent
Source§impl PartialOrd for GuardedMessageEvent
impl PartialOrd for GuardedMessageEvent
impl Eq for GuardedMessageEvent
impl StructuralPartialEq for GuardedMessageEvent
Auto Trait Implementations§
impl Freeze for GuardedMessageEvent
impl RefUnwindSafe for GuardedMessageEvent
impl Send for GuardedMessageEvent
impl Sync for GuardedMessageEvent
impl Unpin for GuardedMessageEvent
impl UnwindSafe for GuardedMessageEvent
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
Source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read moreSource§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
Source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata,
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata, )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: *const T) -> Layout
fn layout_raw(_: *const T) -> Layout
Gets the layout of the type.