pub struct LiveCanaryPolicy {
pub schema_version: String,
pub policy_version: String,
pub generated_at: Option<String>,
pub mode: String,
pub summary: LiveCanaryPolicySummary,
pub policy: BTreeMap<String, Value>,
pub phases: Vec<LiveCanaryPolicyPhase>,
pub recommendation: LiveCanaryRecommendation,
pub operator_context: OperatorContext,
pub request: Option<BTreeMap<String, Value>>,
pub privacy: BTreeMap<String, Value>,
pub extra: BTreeMap<String, Value>,
}Fields§
§schema_version: String§policy_version: String§generated_at: Option<String>§mode: String§summary: LiveCanaryPolicySummary§policy: BTreeMap<String, Value>§phases: Vec<LiveCanaryPolicyPhase>§recommendation: LiveCanaryRecommendation§operator_context: OperatorContext§request: Option<BTreeMap<String, Value>>§privacy: BTreeMap<String, Value>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for LiveCanaryPolicy
impl Clone for LiveCanaryPolicy
Source§fn clone(&self) -> LiveCanaryPolicy
fn clone(&self) -> LiveCanaryPolicy
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 LiveCanaryPolicy
impl Debug for LiveCanaryPolicy
Source§impl Default for LiveCanaryPolicy
impl Default for LiveCanaryPolicy
Source§fn default() -> LiveCanaryPolicy
fn default() -> LiveCanaryPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LiveCanaryPolicywhere
LiveCanaryPolicy: Default,
impl<'de> Deserialize<'de> for LiveCanaryPolicywhere
LiveCanaryPolicy: Default,
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 LiveCanaryPolicy
impl RefUnwindSafe for LiveCanaryPolicy
impl Send for LiveCanaryPolicy
impl Sync for LiveCanaryPolicy
impl Unpin for LiveCanaryPolicy
impl UnsafeUnpin for LiveCanaryPolicy
impl UnwindSafe for LiveCanaryPolicy
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