pub struct HeartbeatInput {
pub id: String,
pub title: String,
pub interval_seconds: u64,
pub grace_seconds: u64,
pub severity: Severity,
pub notify_on_recovery: bool,
}Fields§
§id: String§title: String§interval_seconds: u64§grace_seconds: u64§severity: Severity§notify_on_recovery: boolImplementations§
Trait Implementations§
Source§impl Clone for HeartbeatInput
impl Clone for HeartbeatInput
Source§fn clone(&self) -> HeartbeatInput
fn clone(&self) -> HeartbeatInput
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 HeartbeatInput
impl Debug for HeartbeatInput
Source§impl<'de> Deserialize<'de> for HeartbeatInput
impl<'de> Deserialize<'de> for HeartbeatInput
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 HeartbeatInput
impl RefUnwindSafe for HeartbeatInput
impl Send for HeartbeatInput
impl Sync for HeartbeatInput
impl Unpin for HeartbeatInput
impl UnsafeUnpin for HeartbeatInput
impl UnwindSafe for HeartbeatInput
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