pub struct DaemonEndpoint {
pub port: i32,
}
Expand description
DaemonEndpoint contains information about a single Daemon endpoint.
Fields§
§port: i32
Port number of the given endpoint.
Trait Implementations§
Source§impl Clone for DaemonEndpoint
impl Clone for DaemonEndpoint
Source§fn clone(&self) -> DaemonEndpoint
fn clone(&self) -> DaemonEndpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DaemonEndpoint
impl Debug for DaemonEndpoint
Source§impl DeepMerge for DaemonEndpoint
impl DeepMerge for DaemonEndpoint
Source§fn merge_from(&mut self, other: DaemonEndpoint)
fn merge_from(&mut self, other: DaemonEndpoint)
Merge
other
into self
.Source§impl Default for DaemonEndpoint
impl Default for DaemonEndpoint
Source§fn default() -> DaemonEndpoint
fn default() -> DaemonEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DaemonEndpoint
impl<'de> Deserialize<'de> for DaemonEndpoint
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DaemonEndpoint, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DaemonEndpoint, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DaemonEndpoint
impl PartialEq for DaemonEndpoint
Source§impl Serialize for DaemonEndpoint
impl Serialize for DaemonEndpoint
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DaemonEndpoint
Auto Trait Implementations§
impl Freeze for DaemonEndpoint
impl RefUnwindSafe for DaemonEndpoint
impl Send for DaemonEndpoint
impl Sync for DaemonEndpoint
impl Unpin for DaemonEndpoint
impl UnwindSafe for DaemonEndpoint
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