pub struct ProtocolSchema {
pub version: String,
pub definitions: SchemaDefinitions,
}Expand description
Protocol schema structure (for future schema validation)
Fields§
§version: String§definitions: SchemaDefinitionsTrait Implementations§
Source§impl Clone for ProtocolSchema
impl Clone for ProtocolSchema
Source§fn clone(&self) -> ProtocolSchema
fn clone(&self) -> ProtocolSchema
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 ProtocolSchema
impl Debug for ProtocolSchema
Source§impl<'de> Deserialize<'de> for ProtocolSchema
impl<'de> Deserialize<'de> for ProtocolSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProtocolSchema
impl RefUnwindSafe for ProtocolSchema
impl Send for ProtocolSchema
impl Sync for ProtocolSchema
impl Unpin for ProtocolSchema
impl UnwindSafe for ProtocolSchema
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