Struct aws_sdk_glue::types::XmlClassifier
source · #[non_exhaustive]pub struct XmlClassifier {
pub name: String,
pub classification: String,
pub creation_time: Option<DateTime>,
pub last_updated: Option<DateTime>,
pub version: i64,
pub row_tag: Option<String>,
}Expand description
A classifier for XML content.
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.name: StringThe name of the classifier.
classification: StringAn identifier of the data format that the classifier matches.
creation_time: Option<DateTime>The time that this classifier was registered.
last_updated: Option<DateTime>The time that this classifier was last updated.
version: i64The version of this 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 XmlClassifier
impl XmlClassifier
sourcepub fn classification(&self) -> &str
pub fn classification(&self) -> &str
An identifier of the data format that the classifier matches.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that this classifier was registered.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time that this classifier was last updated.
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 XmlClassifier
impl XmlClassifier
sourcepub fn builder() -> XmlClassifierBuilder
pub fn builder() -> XmlClassifierBuilder
Creates a new builder-style object to manufacture XmlClassifier.
Trait Implementations§
source§impl Clone for XmlClassifier
impl Clone for XmlClassifier
source§fn clone(&self) -> XmlClassifier
fn clone(&self) -> XmlClassifier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for XmlClassifier
impl Debug for XmlClassifier
source§impl PartialEq for XmlClassifier
impl PartialEq for XmlClassifier
source§fn eq(&self, other: &XmlClassifier) -> bool
fn eq(&self, other: &XmlClassifier) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for XmlClassifier
Auto Trait Implementations§
impl Freeze for XmlClassifier
impl RefUnwindSafe for XmlClassifier
impl Send for XmlClassifier
impl Sync for XmlClassifier
impl Unpin for XmlClassifier
impl UnwindSafe for XmlClassifier
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