pub struct FollowResult {
pub domain: String,
pub record_type: RecordType,
pub nameserver: Option<String>,
pub iterations_requested: usize,
pub interval_secs: u64,
pub iterations: Vec<FollowIteration>,
pub interrupted: bool,
pub total_changes: usize,
pub started_at: DateTime<Utc>,
pub ended_at: DateTime<Utc>,
}Expand description
Complete result of a follow operation
Fields§
§domain: StringDomain that was monitored
record_type: RecordTypeRecord type that was monitored
nameserver: Option<String>Nameserver used (if custom)
iterations_requested: usizeConfiguration used
interval_secs: u64§iterations: Vec<FollowIteration>All iteration results
interrupted: boolWhether the operation was interrupted
total_changes: usizeTotal number of changes detected
started_at: DateTime<Utc>Start time
ended_at: DateTime<Utc>End time
Implementations§
Source§impl FollowResult
impl FollowResult
pub fn completed_iterations(&self) -> usize
pub fn successful_iterations(&self) -> usize
pub fn failed_iterations(&self) -> usize
Trait Implementations§
Source§impl Clone for FollowResult
impl Clone for FollowResult
Source§fn clone(&self) -> FollowResult
fn clone(&self) -> FollowResult
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 FollowResult
impl Debug for FollowResult
Source§impl<'de> Deserialize<'de> for FollowResult
impl<'de> Deserialize<'de> for FollowResult
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 FollowResult
impl RefUnwindSafe for FollowResult
impl Send for FollowResult
impl Sync for FollowResult
impl Unpin for FollowResult
impl UnsafeUnpin for FollowResult
impl UnwindSafe for FollowResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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