Struct product_os_command_control::Node
source · pub struct Node { /* private fields */ }
Implementations§
source§impl Node
impl Node
pub fn default(config: &Configuration, certificates: Vec<Certificate>) -> Self
pub fn get_identifier(&self) -> String
pub fn get_protocol(&self) -> String
pub fn get_address(&self) -> Url
pub fn get_process_id(&self) -> u32
pub fn get_certificate(&self) -> Certificate
pub fn get_raw_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: String, search_value: String) -> bool
pub fn match_node_query(&self, query: &BTreeMap<String, String>) -> 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
source§impl<T> CastSliceMut<'_, T> for T
impl<T> CastSliceMut<'_, T> for T
fn cast_slice_mut(selves: &mut [T]) -> &mut [T]
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more