pub struct WireSchemaInfo {
pub supports: Vec<u32>,
pub negotiated: Option<u32>,
}Expand description
What a runner says about the wire it speaks.
Fields§
§supports: Vec<u32>Every schema the runner speaks.
negotiated: Option<u32>The one it settled on with the client that asked, when the client said what it speaks. Absent from a runner too old to have been asked.
Trait Implementations§
Source§impl Clone for WireSchemaInfo
impl Clone for WireSchemaInfo
Source§fn clone(&self) -> WireSchemaInfo
fn clone(&self) -> WireSchemaInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireSchemaInfo
impl Debug for WireSchemaInfo
Source§impl Default for WireSchemaInfo
impl Default for WireSchemaInfo
Source§fn default() -> WireSchemaInfo
fn default() -> WireSchemaInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WireSchemaInfo
impl<'de> Deserialize<'de> for WireSchemaInfo
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
impl Eq for WireSchemaInfo
Source§impl PartialEq for WireSchemaInfo
impl PartialEq for WireSchemaInfo
Source§impl Serialize for WireSchemaInfo
impl Serialize for WireSchemaInfo
impl StructuralPartialEq for WireSchemaInfo
Auto Trait Implementations§
impl Freeze for WireSchemaInfo
impl RefUnwindSafe for WireSchemaInfo
impl Send for WireSchemaInfo
impl Sync for WireSchemaInfo
impl Unpin for WireSchemaInfo
impl UnsafeUnpin for WireSchemaInfo
impl UnwindSafe for WireSchemaInfo
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