#[non_exhaustive]pub struct UpdateRuleMetadataInput {
pub rule: Option<Rule>,
pub description: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rule: Option<Rule>
The rule to update.
description: Option<String>
The rule description.
Implementations§
source§impl UpdateRuleMetadataInput
impl UpdateRuleMetadataInput
sourcepub fn builder() -> UpdateRuleMetadataInputBuilder
pub fn builder() -> UpdateRuleMetadataInputBuilder
Creates a new builder-style object to manufacture UpdateRuleMetadataInput
.
Trait Implementations§
source§impl Clone for UpdateRuleMetadataInput
impl Clone for UpdateRuleMetadataInput
source§fn clone(&self) -> UpdateRuleMetadataInput
fn clone(&self) -> UpdateRuleMetadataInput
Returns a copy 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 UpdateRuleMetadataInput
impl Debug for UpdateRuleMetadataInput
source§impl PartialEq for UpdateRuleMetadataInput
impl PartialEq for UpdateRuleMetadataInput
source§fn eq(&self, other: &UpdateRuleMetadataInput) -> bool
fn eq(&self, other: &UpdateRuleMetadataInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRuleMetadataInput
Auto Trait Implementations§
impl Freeze for UpdateRuleMetadataInput
impl RefUnwindSafe for UpdateRuleMetadataInput
impl Send for UpdateRuleMetadataInput
impl Sync for UpdateRuleMetadataInput
impl Unpin for UpdateRuleMetadataInput
impl UnwindSafe for UpdateRuleMetadataInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.