pub struct SlaProperty {
pub property: String,
pub value: Value,
pub unit: String,
pub element: Option<String>,
pub driver: Option<String>,
pub description: Option<String>,
pub scheduler: Option<String>,
pub schedule: Option<String>,
}Expand description
SLA (Service Level Agreement) property following ODCS-inspired structure
Represents a single SLA property for Data Flow nodes and relationships. Uses a lightweight format inspired by ODCS servicelevels but separate from ODCS.
Fields§
§property: StringSLA attribute name (e.g., “latency”, “availability”, “throughput”)
value: ValueMetric value (flexible type to support numbers, strings, etc.)
unit: StringMeasurement unit (e.g., “hours”, “percent”, “requests_per_second”)
element: Option<String>Optional: Data elements this SLA applies to
driver: Option<String>Optional: Importance driver (e.g., “regulatory”, “analytics”, “operational”)
description: Option<String>Optional: Description of the SLA
scheduler: Option<String>Optional: Scheduler type for monitoring
schedule: Option<String>Optional: Schedule expression (e.g., cron format)
Trait Implementations§
Source§impl Clone for SlaProperty
impl Clone for SlaProperty
Source§fn clone(&self) -> SlaProperty
fn clone(&self) -> SlaProperty
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 SlaProperty
impl Debug for SlaProperty
Source§impl<'de> Deserialize<'de> for SlaProperty
impl<'de> Deserialize<'de> for SlaProperty
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SlaProperty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SlaProperty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SlaProperty
impl PartialEq for SlaProperty
Source§impl Serialize for SlaProperty
impl Serialize for SlaProperty
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SlaProperty
Auto Trait Implementations§
impl Freeze for SlaProperty
impl RefUnwindSafe for SlaProperty
impl Send for SlaProperty
impl Sync for SlaProperty
impl Unpin for SlaProperty
impl UnwindSafe for SlaProperty
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