pub struct ProtocolV2CommandOptions {
pub agent: Option<String>,
pub object_format: Option<ObjectFormat>,
pub server_options: Vec<String>,
pub extra: Vec<Capability>,
}Fields§
§agent: Option<String>§object_format: Option<ObjectFormat>§server_options: Vec<String>§extra: Vec<Capability>Trait Implementations§
Source§impl Clone for ProtocolV2CommandOptions
impl Clone for ProtocolV2CommandOptions
Source§fn clone(&self) -> ProtocolV2CommandOptions
fn clone(&self) -> ProtocolV2CommandOptions
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 ProtocolV2CommandOptions
impl Debug for ProtocolV2CommandOptions
Source§impl Default for ProtocolV2CommandOptions
impl Default for ProtocolV2CommandOptions
Source§fn default() -> ProtocolV2CommandOptions
fn default() -> ProtocolV2CommandOptions
Returns the “default value” for a type. Read more
impl Eq for ProtocolV2CommandOptions
Source§impl PartialEq for ProtocolV2CommandOptions
impl PartialEq for ProtocolV2CommandOptions
Source§fn eq(&self, other: &ProtocolV2CommandOptions) -> bool
fn eq(&self, other: &ProtocolV2CommandOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2CommandOptions
Auto Trait Implementations§
impl Freeze for ProtocolV2CommandOptions
impl RefUnwindSafe for ProtocolV2CommandOptions
impl Send for ProtocolV2CommandOptions
impl Sync for ProtocolV2CommandOptions
impl Unpin for ProtocolV2CommandOptions
impl UnsafeUnpin for ProtocolV2CommandOptions
impl UnwindSafe for ProtocolV2CommandOptions
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