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 copy 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 DaemonEndpoint
impl Debug for DaemonEndpoint
Source§impl DeepMerge for DaemonEndpoint
impl DeepMerge for DaemonEndpoint
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
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<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
Source§impl JsonSchema for DaemonEndpoint
impl JsonSchema for DaemonEndpoint
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for DaemonEndpoint
impl PartialEq for DaemonEndpoint
Source§impl Serialize for DaemonEndpoint
impl Serialize for DaemonEndpoint
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