pub struct ServiceLevel {
pub property: Option<String>,
pub value: Option<Value>,
pub unit: Option<String>,
pub element: Option<String>,
pub driver: Option<String>,
pub description: Option<String>,
pub scheduler: Option<String>,
pub schedule: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Service level definition (ODCS v3.1.0)
Fields§
§property: Option<String>Service level property name
value: Option<Value>Value
unit: Option<String>Unit of measurement
element: Option<String>Element this applies to
driver: Option<String>Driver for this SLA
description: Option<String>Description
scheduler: Option<String>Scheduler
schedule: Option<String>Schedule expression
extra: HashMap<String, Value>Additional properties
Trait Implementations§
Source§impl Clone for ServiceLevel
impl Clone for ServiceLevel
Source§fn clone(&self) -> ServiceLevel
fn clone(&self) -> ServiceLevel
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 ServiceLevel
impl Debug for ServiceLevel
Source§impl<'de> Deserialize<'de> for ServiceLevel
impl<'de> Deserialize<'de> for ServiceLevel
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 ServiceLevel
impl PartialEq for ServiceLevel
Source§impl Serialize for ServiceLevel
impl Serialize for ServiceLevel
impl StructuralPartialEq for ServiceLevel
Auto Trait Implementations§
impl Freeze for ServiceLevel
impl RefUnwindSafe for ServiceLevel
impl Send for ServiceLevel
impl Sync for ServiceLevel
impl Unpin for ServiceLevel
impl UnwindSafe for ServiceLevel
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