Struct aws_sdk_glue::types::JsonClassifier
source · #[non_exhaustive]pub struct JsonClassifier {
pub name: String,
pub creation_time: Option<DateTime>,
pub last_updated: Option<DateTime>,
pub version: i64,
pub json_path: String,
}Expand description
A classifier for JSON content.
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.name: StringThe name of the classifier.
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.
json_path: StringA JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
Implementations§
source§impl JsonClassifier
impl JsonClassifier
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 json_path(&self) -> &str
pub fn json_path(&self) -> &str
A JsonPath string defining the JSON data for the classifier to classify. Glue supports a subset of JsonPath, as described in Writing JsonPath Custom Classifiers.
source§impl JsonClassifier
impl JsonClassifier
sourcepub fn builder() -> JsonClassifierBuilder
pub fn builder() -> JsonClassifierBuilder
Creates a new builder-style object to manufacture JsonClassifier.
Trait Implementations§
source§impl Clone for JsonClassifier
impl Clone for JsonClassifier
source§fn clone(&self) -> JsonClassifier
fn clone(&self) -> JsonClassifier
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 JsonClassifier
impl Debug for JsonClassifier
source§impl PartialEq for JsonClassifier
impl PartialEq for JsonClassifier
source§fn eq(&self, other: &JsonClassifier) -> bool
fn eq(&self, other: &JsonClassifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for JsonClassifier
Auto Trait Implementations§
impl Freeze for JsonClassifier
impl RefUnwindSafe for JsonClassifier
impl Send for JsonClassifier
impl Sync for JsonClassifier
impl Unpin for JsonClassifier
impl UnwindSafe for JsonClassifier
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.