pub struct PatchedReputationPolicyRequest {
pub name: Option<String>,
pub execution_logging: Option<bool>,
pub check_ip: Option<bool>,
pub check_username: Option<bool>,
pub threshold: Option<i32>,
}
Expand description
PatchedReputationPolicyRequest : Reputation 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.
check_ip: Option<bool>
§check_username: Option<bool>
§threshold: Option<i32>
Implementations§
Source§impl PatchedReputationPolicyRequest
impl PatchedReputationPolicyRequest
Sourcepub fn new() -> PatchedReputationPolicyRequest
pub fn new() -> PatchedReputationPolicyRequest
Reputation Policy Serializer
Trait Implementations§
Source§impl Clone for PatchedReputationPolicyRequest
impl Clone for PatchedReputationPolicyRequest
Source§fn clone(&self) -> PatchedReputationPolicyRequest
fn clone(&self) -> PatchedReputationPolicyRequest
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 Default for PatchedReputationPolicyRequest
impl Default for PatchedReputationPolicyRequest
Source§fn default() -> PatchedReputationPolicyRequest
fn default() -> PatchedReputationPolicyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedReputationPolicyRequest
impl<'de> Deserialize<'de> for PatchedReputationPolicyRequest
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 PatchedReputationPolicyRequest
impl PartialEq for PatchedReputationPolicyRequest
Source§fn eq(&self, other: &PatchedReputationPolicyRequest) -> bool
fn eq(&self, other: &PatchedReputationPolicyRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PatchedReputationPolicyRequest
Auto Trait Implementations§
impl Freeze for PatchedReputationPolicyRequest
impl RefUnwindSafe for PatchedReputationPolicyRequest
impl Send for PatchedReputationPolicyRequest
impl Sync for PatchedReputationPolicyRequest
impl Unpin for PatchedReputationPolicyRequest
impl UnwindSafe for PatchedReputationPolicyRequest
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