#[non_exhaustive]pub struct UpdateClassifierInput {
pub grok_classifier: Option<UpdateGrokClassifierRequest>,
pub xml_classifier: Option<UpdateXmlClassifierRequest>,
pub json_classifier: Option<UpdateJsonClassifierRequest>,
pub csv_classifier: Option<UpdateCsvClassifierRequest>,
}
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.grok_classifier: Option<UpdateGrokClassifierRequest>
A GrokClassifier
object with updated fields.
xml_classifier: Option<UpdateXmlClassifierRequest>
An XMLClassifier
object with updated fields.
json_classifier: Option<UpdateJsonClassifierRequest>
A JsonClassifier
object with updated fields.
csv_classifier: Option<UpdateCsvClassifierRequest>
A CsvClassifier
object with updated fields.
Implementations§
source§impl UpdateClassifierInput
impl UpdateClassifierInput
sourcepub fn grok_classifier(&self) -> Option<&UpdateGrokClassifierRequest>
pub fn grok_classifier(&self) -> Option<&UpdateGrokClassifierRequest>
A GrokClassifier
object with updated fields.
sourcepub fn xml_classifier(&self) -> Option<&UpdateXmlClassifierRequest>
pub fn xml_classifier(&self) -> Option<&UpdateXmlClassifierRequest>
An XMLClassifier
object with updated fields.
sourcepub fn json_classifier(&self) -> Option<&UpdateJsonClassifierRequest>
pub fn json_classifier(&self) -> Option<&UpdateJsonClassifierRequest>
A JsonClassifier
object with updated fields.
sourcepub fn csv_classifier(&self) -> Option<&UpdateCsvClassifierRequest>
pub fn csv_classifier(&self) -> Option<&UpdateCsvClassifierRequest>
A CsvClassifier
object with updated fields.
source§impl UpdateClassifierInput
impl UpdateClassifierInput
sourcepub fn builder() -> UpdateClassifierInputBuilder
pub fn builder() -> UpdateClassifierInputBuilder
Creates a new builder-style object to manufacture UpdateClassifierInput
.
Trait Implementations§
source§impl Clone for UpdateClassifierInput
impl Clone for UpdateClassifierInput
source§fn clone(&self) -> UpdateClassifierInput
fn clone(&self) -> UpdateClassifierInput
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 UpdateClassifierInput
impl Debug for UpdateClassifierInput
source§impl PartialEq for UpdateClassifierInput
impl PartialEq for UpdateClassifierInput
source§fn eq(&self, other: &UpdateClassifierInput) -> bool
fn eq(&self, other: &UpdateClassifierInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClassifierInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateClassifierInput
impl Send for UpdateClassifierInput
impl Sync for UpdateClassifierInput
impl Unpin for UpdateClassifierInput
impl UnwindSafe for UpdateClassifierInput
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.