pub struct ChildStatus {
pub last_exchange: Option<ChildExchange>,
pub last_success: Option<Timestamp>,
pub suspended: Option<Timestamp>,
}Expand description
The synchronization status of a child CA.
Fields§
§last_exchange: Option<ChildExchange>The last synchronization exchange with the child CA.
This is None if there never was an exchange.
last_success: Option<Timestamp>The time of the last successful synchronization exchange.
This is None if there never was a successful exchange.
suspended: Option<Timestamp>The time the child CA was suspended.
This is None if the child CA isn’t suspended.
Implementations§
Source§impl ChildStatus
impl ChildStatus
pub fn set_success(&mut self, user_agent: Option<String>)
pub fn set_failure( &mut self, user_agent: Option<String>, error_response: ErrorResponse, )
pub fn set_suspended(&mut self)
pub fn child_state(&self) -> ChildState
Trait Implementations§
Source§impl Clone for ChildStatus
impl Clone for ChildStatus
Source§fn clone(&self) -> ChildStatus
fn clone(&self) -> ChildStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChildStatus
impl Debug for ChildStatus
Source§impl Default for ChildStatus
impl Default for ChildStatus
Source§fn default() -> ChildStatus
fn default() -> ChildStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChildStatus
impl<'de> Deserialize<'de> for ChildStatus
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
impl Eq for ChildStatus
Source§impl PartialEq for ChildStatus
impl PartialEq for ChildStatus
Source§impl Serialize for ChildStatus
impl Serialize for ChildStatus
impl StructuralPartialEq for ChildStatus
Auto Trait Implementations§
impl Freeze for ChildStatus
impl RefUnwindSafe for ChildStatus
impl Send for ChildStatus
impl Sync for ChildStatus
impl Unpin for ChildStatus
impl UnsafeUnpin for ChildStatus
impl UnwindSafe for ChildStatus
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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