pub struct PatchedDummyPolicyRequest {
pub name: Option<String>,
pub execution_logging: Option<bool>,
pub result: Option<bool>,
pub wait_min: Option<i32>,
pub wait_max: Option<i32>,
}
Expand description
PatchedDummyPolicyRequest : Dummy Policy Serializer
Fields§
§name: Option<String>
§execution_logging: Option<bool>
When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
result: Option<bool>
§wait_min: Option<i32>
§wait_max: Option<i32>
Implementations§
Source§impl PatchedDummyPolicyRequest
impl PatchedDummyPolicyRequest
Sourcepub fn new() -> PatchedDummyPolicyRequest
pub fn new() -> PatchedDummyPolicyRequest
Dummy Policy Serializer
Trait Implementations§
Source§impl Clone for PatchedDummyPolicyRequest
impl Clone for PatchedDummyPolicyRequest
Source§fn clone(&self) -> PatchedDummyPolicyRequest
fn clone(&self) -> PatchedDummyPolicyRequest
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 PatchedDummyPolicyRequest
impl Debug for PatchedDummyPolicyRequest
Source§impl Default for PatchedDummyPolicyRequest
impl Default for PatchedDummyPolicyRequest
Source§fn default() -> PatchedDummyPolicyRequest
fn default() -> PatchedDummyPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedDummyPolicyRequest
impl<'de> Deserialize<'de> for PatchedDummyPolicyRequest
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
impl StructuralPartialEq for PatchedDummyPolicyRequest
Auto Trait Implementations§
impl Freeze for PatchedDummyPolicyRequest
impl RefUnwindSafe for PatchedDummyPolicyRequest
impl Send for PatchedDummyPolicyRequest
impl Sync for PatchedDummyPolicyRequest
impl Unpin for PatchedDummyPolicyRequest
impl UnwindSafe for PatchedDummyPolicyRequest
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