pub struct RulePatchInput {
pub definition: Option<Option<Box<ProtectionDefinition>>>,
pub description: Option<Option<String>>,
pub name: Option<Option<String>>,
pub pattern: Option<Option<Box<ProtectionPattern>>>,
pub state: Option<Option<RuleState>>,
}Fields§
§definition: Option<Option<Box<ProtectionDefinition>>>§description: Option<Option<String>>§name: Option<Option<String>>§pattern: Option<Option<Box<ProtectionPattern>>>§state: Option<Option<RuleState>>Implementations§
Source§impl RulePatchInput
impl RulePatchInput
pub fn new() -> RulePatchInput
Trait Implementations§
Source§impl Clone for RulePatchInput
impl Clone for RulePatchInput
Source§fn clone(&self) -> RulePatchInput
fn clone(&self) -> RulePatchInput
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 RulePatchInput
impl Debug for RulePatchInput
Source§impl Default for RulePatchInput
impl Default for RulePatchInput
Source§fn default() -> RulePatchInput
fn default() -> RulePatchInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RulePatchInput
impl<'de> Deserialize<'de> for RulePatchInput
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 RulePatchInput
impl PartialEq for RulePatchInput
Source§impl Serialize for RulePatchInput
impl Serialize for RulePatchInput
impl StructuralPartialEq for RulePatchInput
Auto Trait Implementations§
impl Freeze for RulePatchInput
impl RefUnwindSafe for RulePatchInput
impl Send for RulePatchInput
impl Sync for RulePatchInput
impl Unpin for RulePatchInput
impl UnwindSafe for RulePatchInput
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