pub struct Endpoint {
pub uid: String,
pub bdb_uid: u32,
pub node_uid: u32,
pub addr: String,
pub port: u16,
pub dns_name: Option<String>,
pub role: Option<String>,
pub ssl: Option<bool>,
pub status: Option<String>,
pub description: Option<String>,
pub error_code: Option<String>,
pub extra: Value,
}
Expand description
Endpoint information
Fields§
§uid: String
§bdb_uid: u32
§node_uid: u32
§addr: String
§port: u16
§dns_name: Option<String>
§role: Option<String>
§ssl: Option<bool>
§status: Option<String>
§description: Option<String>
Description of the endpoint
error_code: Option<String>
Error code if endpoint has an error
extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Endpoint
impl<'de> Deserialize<'de> for Endpoint
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
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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