Struct aws_sdk_athena::types::NotebookMetadata
source · #[non_exhaustive]pub struct NotebookMetadata {
pub notebook_id: Option<String>,
pub name: Option<String>,
pub work_group: Option<String>,
pub creation_time: Option<DateTime>,
pub type: Option<NotebookType>,
pub last_modified_time: Option<DateTime>,
}Expand description
Contains metadata for notebook, including the notebook name, ID, workgroup, and time created.
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.notebook_id: Option<String>The notebook ID.
name: Option<String>The name of the notebook.
work_group: Option<String>The name of the Spark enabled workgroup to which the notebook belongs.
creation_time: Option<DateTime>The time when the notebook was created.
type: Option<NotebookType>The type of notebook. Currently, the only valid type is IPYNB.
last_modified_time: Option<DateTime>The time when the notebook was last modified.
Implementations§
source§impl NotebookMetadata
impl NotebookMetadata
sourcepub fn notebook_id(&self) -> Option<&str>
pub fn notebook_id(&self) -> Option<&str>
The notebook ID.
sourcepub fn work_group(&self) -> Option<&str>
pub fn work_group(&self) -> Option<&str>
The name of the Spark enabled workgroup to which the notebook belongs.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time when the notebook was created.
sourcepub fn type(&self) -> Option<&NotebookType>
pub fn type(&self) -> Option<&NotebookType>
The type of notebook. Currently, the only valid type is IPYNB.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The time when the notebook was last modified.
source§impl NotebookMetadata
impl NotebookMetadata
sourcepub fn builder() -> NotebookMetadataBuilder
pub fn builder() -> NotebookMetadataBuilder
Creates a new builder-style object to manufacture NotebookMetadata.
Trait Implementations§
source§impl Clone for NotebookMetadata
impl Clone for NotebookMetadata
source§fn clone(&self) -> NotebookMetadata
fn clone(&self) -> NotebookMetadata
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 NotebookMetadata
impl Debug for NotebookMetadata
source§impl PartialEq for NotebookMetadata
impl PartialEq for NotebookMetadata
source§fn eq(&self, other: &NotebookMetadata) -> bool
fn eq(&self, other: &NotebookMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NotebookMetadata
Auto Trait Implementations§
impl Freeze for NotebookMetadata
impl RefUnwindSafe for NotebookMetadata
impl Send for NotebookMetadata
impl Sync for NotebookMetadata
impl Unpin for NotebookMetadata
impl UnwindSafe for NotebookMetadata
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.