pub struct NodeStatusResponse {
pub node_refresh_interval: i64,
pub node_renewal_threshold: i32,
}
Fields§
§node_refresh_interval: i64
Interval between node agent checkins with the backend, in seconds
node_renewal_threshold: i32
The node agent requests certificate renewal when the certificate’s remaining validity is less than this percentage of the original validity
Implementations§
Source§impl NodeStatusResponse
impl NodeStatusResponse
pub fn new( node_refresh_interval: i64, node_renewal_threshold: i32, ) -> NodeStatusResponse
Trait Implementations§
Source§impl Clone for NodeStatusResponse
impl Clone for NodeStatusResponse
Source§fn clone(&self) -> NodeStatusResponse
fn clone(&self) -> NodeStatusResponse
Returns a duplicate 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 NodeStatusResponse
impl Debug for NodeStatusResponse
Source§impl<'de> Deserialize<'de> for NodeStatusResponse
impl<'de> Deserialize<'de> for NodeStatusResponse
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 PartialEq for NodeStatusResponse
impl PartialEq for NodeStatusResponse
Source§impl Serialize for NodeStatusResponse
impl Serialize for NodeStatusResponse
impl StructuralPartialEq for NodeStatusResponse
Auto Trait Implementations§
impl Freeze for NodeStatusResponse
impl RefUnwindSafe for NodeStatusResponse
impl Send for NodeStatusResponse
impl Sync for NodeStatusResponse
impl Unpin for NodeStatusResponse
impl UnwindSafe for NodeStatusResponse
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