pub struct Node { /* private fields */ }
Implementations§
Source§impl Node
impl Node
pub fn default(config: &Configuration, certificates: Certificates) -> Self
pub fn get_identifier(&self) -> String
pub fn get_protocol(&self) -> String
pub fn get_address(&self) -> Uri
pub fn get_process_id(&self) -> u32
pub fn get_certificate(&self) -> Vec<u8> ⓘ
pub fn get_failures(&self) -> u8
pub fn get_features(&self) -> &Features
pub fn get_services(&self) -> &Services
pub fn match_node(&self, selector: &str, search_value: &str) -> bool
pub fn match_node_query(&self, query: &BTreeMap<&str, &str>) -> bool
pub fn get_created_at(&self) -> DateTime<Utc>
pub fn get_last_updated_at(&self) -> DateTime<Utc>
Trait Implementations§
Source§impl AsByteVector for &Node
impl AsByteVector for &Node
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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 Node
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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