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 ==.