pub struct EscalationTarget {
pub approver_id: String,
pub name: String,
pub availability: f64,
pub avg_response_secs: i64,
pub approval_rate: f64,
}Expand description
A target in an escalation chain.
Fields§
§approver_id: StringApprover ID.
name: StringApprover name.
availability: f64Estimated availability (0.0-1.0).
avg_response_secs: i64Historical response time in seconds.
approval_rate: f64Historical approval rate (0.0-1.0).
Trait Implementations§
Source§impl Clone for EscalationTarget
impl Clone for EscalationTarget
Source§fn clone(&self) -> EscalationTarget
fn clone(&self) -> EscalationTarget
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 EscalationTarget
impl Debug for EscalationTarget
Source§impl<'de> Deserialize<'de> for EscalationTarget
impl<'de> Deserialize<'de> for EscalationTarget
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 EscalationTarget
impl RefUnwindSafe for EscalationTarget
impl Send for EscalationTarget
impl Sync for EscalationTarget
impl Unpin for EscalationTarget
impl UnsafeUnpin for EscalationTarget
impl UnwindSafe for EscalationTarget
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