#[non_exhaustive]pub struct MetadataTransferJobStatus {
pub state: Option<MetadataTransferJobState>,
pub error: Option<ErrorDetails>,
pub queued_position: Option<i32>,
}Expand description
The metadata transfer job status.
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.state: Option<MetadataTransferJobState>The metadata transfer job state.
error: Option<ErrorDetails>The metadata transfer job error.
queued_position: Option<i32>The queued position.
Implementations§
source§impl MetadataTransferJobStatus
impl MetadataTransferJobStatus
sourcepub fn state(&self) -> Option<&MetadataTransferJobState>
pub fn state(&self) -> Option<&MetadataTransferJobState>
The metadata transfer job state.
sourcepub fn error(&self) -> Option<&ErrorDetails>
pub fn error(&self) -> Option<&ErrorDetails>
The metadata transfer job error.
sourcepub fn queued_position(&self) -> Option<i32>
pub fn queued_position(&self) -> Option<i32>
The queued position.
source§impl MetadataTransferJobStatus
impl MetadataTransferJobStatus
sourcepub fn builder() -> MetadataTransferJobStatusBuilder
pub fn builder() -> MetadataTransferJobStatusBuilder
Creates a new builder-style object to manufacture MetadataTransferJobStatus.
Trait Implementations§
source§impl Clone for MetadataTransferJobStatus
impl Clone for MetadataTransferJobStatus
source§fn clone(&self) -> MetadataTransferJobStatus
fn clone(&self) -> MetadataTransferJobStatus
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 MetadataTransferJobStatus
impl Debug for MetadataTransferJobStatus
source§impl PartialEq for MetadataTransferJobStatus
impl PartialEq for MetadataTransferJobStatus
source§fn eq(&self, other: &MetadataTransferJobStatus) -> bool
fn eq(&self, other: &MetadataTransferJobStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetadataTransferJobStatus
Auto Trait Implementations§
impl Freeze for MetadataTransferJobStatus
impl RefUnwindSafe for MetadataTransferJobStatus
impl Send for MetadataTransferJobStatus
impl Sync for MetadataTransferJobStatus
impl Unpin for MetadataTransferJobStatus
impl UnwindSafe for MetadataTransferJobStatus
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.