pub struct CapabilityResponse {
pub version: Vec<u32>,
pub capabilities: Vec<(Bytes, Option<Bytes>)>,
pub user_agent: Option<String>,
}Fields§
§version: Vec<u32>§capabilities: Vec<(Bytes, Option<Bytes>)>§user_agent: Option<String>Trait Implementations§
Source§impl Clone for CapabilityResponse
impl Clone for CapabilityResponse
Source§fn clone(&self) -> CapabilityResponse
fn clone(&self) -> CapabilityResponse
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<'de> Deserialize<'de> for CapabilityResponse
impl<'de> Deserialize<'de> for CapabilityResponse
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 CapabilityResponse
Source§impl Hash for CapabilityResponse
impl Hash for CapabilityResponse
Source§impl Ord for CapabilityResponse
impl Ord for CapabilityResponse
Source§fn cmp(&self, other: &CapabilityResponse) -> Ordering
fn cmp(&self, other: &CapabilityResponse) -> Ordering
1.21.0 (const: unstable) · 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 CapabilityResponse
impl PartialEq for CapabilityResponse
Source§fn eq(&self, other: &CapabilityResponse) -> bool
fn eq(&self, other: &CapabilityResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CapabilityResponse
impl PartialOrd for CapabilityResponse
Source§impl Serialize for CapabilityResponse
impl Serialize for CapabilityResponse
impl StructuralPartialEq for CapabilityResponse
Auto Trait Implementations§
impl Freeze for CapabilityResponse
impl RefUnwindSafe for CapabilityResponse
impl Send for CapabilityResponse
impl Sync for CapabilityResponse
impl Unpin for CapabilityResponse
impl UnsafeUnpin for CapabilityResponse
impl UnwindSafe for CapabilityResponse
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