pub struct ControllerEndpoint<'a> {
pub name: &'a str,
pub host: &'a str,
pub port: u16,
pub security_protocol: i16,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§name: &'a str§host: &'a str§port: u16§security_protocol: i16§unknown_tagged_fields: UnknownTaggedFieldsImplementations§
Source§impl ControllerEndpoint<'_>
impl ControllerEndpoint<'_>
pub fn to_owned(&self) -> ControllerEndpoint
Trait Implementations§
Source§impl<'a> Clone for ControllerEndpoint<'a>
impl<'a> Clone for ControllerEndpoint<'a>
Source§fn clone(&self) -> ControllerEndpoint<'a>
fn clone(&self) -> ControllerEndpoint<'a>
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<'a> Debug for ControllerEndpoint<'a>
impl<'a> Debug for ControllerEndpoint<'a>
Source§impl<'de> DecodeBorrow<'de> for ControllerEndpoint<'de>
impl<'de> DecodeBorrow<'de> for ControllerEndpoint<'de>
fn decode_borrow( buf: &mut &'de [u8], version: i16, ) -> Result<Self, ProtocolError>
Source§impl<'a> Default for ControllerEndpoint<'a>
impl<'a> Default for ControllerEndpoint<'a>
Source§fn default() -> ControllerEndpoint<'a>
fn default() -> ControllerEndpoint<'a>
Returns the “default value” for a type. Read more
Source§impl Encode for ControllerEndpoint<'_>
impl Encode for ControllerEndpoint<'_>
impl<'a> Eq for ControllerEndpoint<'a>
Source§impl<'a> PartialEq for ControllerEndpoint<'a>
impl<'a> PartialEq for ControllerEndpoint<'a>
Source§fn eq(&self, other: &ControllerEndpoint<'a>) -> bool
fn eq(&self, other: &ControllerEndpoint<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for ControllerEndpoint<'a>
Auto Trait Implementations§
impl<'a> Freeze for ControllerEndpoint<'a>
impl<'a> RefUnwindSafe for ControllerEndpoint<'a>
impl<'a> Send for ControllerEndpoint<'a>
impl<'a> Sync for ControllerEndpoint<'a>
impl<'a> Unpin for ControllerEndpoint<'a>
impl<'a> UnsafeUnpin for ControllerEndpoint<'a>
impl<'a> UnwindSafe for ControllerEndpoint<'a>
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