#[non_exhaustive]pub struct StandardConnectionFormat {
    pub direct_connection: bool,
    /* private fields */
}Expand description
Standard connection format.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.direct_connection: boolOptional. Specifies whether the client connects directly to the host[:port] in the connection URI.
Implementations§
Source§impl StandardConnectionFormat
 
impl StandardConnectionFormat
pub fn new() -> Self
Sourcepub fn set_direct_connection<T: Into<bool>>(self, v: T) -> Self
 
pub fn set_direct_connection<T: Into<bool>>(self, v: T) -> Self
Sets the value of direct_connection.
Trait Implementations§
Source§impl Clone for StandardConnectionFormat
 
impl Clone for StandardConnectionFormat
Source§fn clone(&self) -> StandardConnectionFormat
 
fn clone(&self) -> StandardConnectionFormat
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 StandardConnectionFormat
 
impl Debug for StandardConnectionFormat
Source§impl Default for StandardConnectionFormat
 
impl Default for StandardConnectionFormat
Source§fn default() -> StandardConnectionFormat
 
fn default() -> StandardConnectionFormat
Returns the “default value” for a type. Read more
Source§impl Message for StandardConnectionFormat
 
impl Message for StandardConnectionFormat
Source§impl PartialEq for StandardConnectionFormat
 
impl PartialEq for StandardConnectionFormat
impl StructuralPartialEq for StandardConnectionFormat
Auto Trait Implementations§
impl Freeze for StandardConnectionFormat
impl RefUnwindSafe for StandardConnectionFormat
impl Send for StandardConnectionFormat
impl Sync for StandardConnectionFormat
impl Unpin for StandardConnectionFormat
impl UnwindSafe for StandardConnectionFormat
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