Struct aws_sdk_glue::types::CreateXmlClassifierRequest
source · #[non_exhaustive]pub struct CreateXmlClassifierRequest {
pub classification: String,
pub name: String,
pub row_tag: Option<String>,
}
Expand description
Specifies an XML classifier for CreateClassifier
to create.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.classification: String
An identifier of the data format that the classifier matches.
name: String
The name of the classifier.
row_tag: Option<String>
The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />
). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example,
is okay, but
is not).
Implementations§
source§impl CreateXmlClassifierRequest
impl CreateXmlClassifierRequest
sourcepub fn classification(&self) -> &str
pub fn classification(&self) -> &str
An identifier of the data format that the classifier matches.
sourcepub fn row_tag(&self) -> Option<&str>
pub fn row_tag(&self) -> Option<&str>
The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />
). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example,
is okay, but
is not).
source§impl CreateXmlClassifierRequest
impl CreateXmlClassifierRequest
sourcepub fn builder() -> CreateXmlClassifierRequestBuilder
pub fn builder() -> CreateXmlClassifierRequestBuilder
Creates a new builder-style object to manufacture CreateXmlClassifierRequest
.
Trait Implementations§
source§impl Clone for CreateXmlClassifierRequest
impl Clone for CreateXmlClassifierRequest
source§fn clone(&self) -> CreateXmlClassifierRequest
fn clone(&self) -> CreateXmlClassifierRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateXmlClassifierRequest
impl Debug for CreateXmlClassifierRequest
source§impl PartialEq for CreateXmlClassifierRequest
impl PartialEq for CreateXmlClassifierRequest
source§fn eq(&self, other: &CreateXmlClassifierRequest) -> bool
fn eq(&self, other: &CreateXmlClassifierRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateXmlClassifierRequest
Auto Trait Implementations§
impl Freeze for CreateXmlClassifierRequest
impl RefUnwindSafe for CreateXmlClassifierRequest
impl Send for CreateXmlClassifierRequest
impl Sync for CreateXmlClassifierRequest
impl Unpin for CreateXmlClassifierRequest
impl UnwindSafe for CreateXmlClassifierRequest
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more