pub struct CapabilitySummary {
pub total_features: usize,
pub client_features: usize,
pub server_features: usize,
pub enabled_features: Vec<String>,
}
Expand description
Summary of capability negotiation results
Fields§
§total_features: usize
Total number of enabled features
client_features: usize
Number of client-side features
server_features: usize
Number of server-side features
enabled_features: Vec<String>
List of enabled features
Trait Implementations§
Source§impl Clone for CapabilitySummary
impl Clone for CapabilitySummary
Source§fn clone(&self) -> CapabilitySummary
fn clone(&self) -> CapabilitySummary
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 CapabilitySummary
impl Debug for CapabilitySummary
Source§impl<'de> Deserialize<'de> for CapabilitySummary
impl<'de> Deserialize<'de> for CapabilitySummary
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 CapabilitySummary
impl RefUnwindSafe for CapabilitySummary
impl Send for CapabilitySummary
impl Sync for CapabilitySummary
impl Unpin for CapabilitySummary
impl UnwindSafe for CapabilitySummary
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