pub enum ProtocolSchemaInfo {
Struct {
name: &'static str,
type_id: TypeId,
fields: &'static [(&'static str, (&'static str, &'static [TypeId]))],
},
Enum {
name: &'static str,
type_id: TypeId,
variants: &'static [(u64, &'static str, Option<&'static [(&'static str, (&'static str, &'static [TypeId]))]>)],
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProtocolSchemaInfo
impl Clone for ProtocolSchemaInfo
Source§fn clone(&self) -> ProtocolSchemaInfo
fn clone(&self) -> ProtocolSchemaInfo
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 ProtocolSchemaInfo
impl Debug for ProtocolSchemaInfo
impl Copy for ProtocolSchemaInfo
Auto Trait Implementations§
impl Freeze for ProtocolSchemaInfo
impl RefUnwindSafe for ProtocolSchemaInfo
impl Send for ProtocolSchemaInfo
impl Sync for ProtocolSchemaInfo
impl Unpin for ProtocolSchemaInfo
impl UnwindSafe for ProtocolSchemaInfo
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