#[non_exhaustive]pub struct RevokeRevisionInput {
pub data_set_id: Option<String>,
pub revision_id: Option<String>,
pub revocation_comment: Option<String>,
}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.data_set_id: Option<String>The unique identifier for a data set.
revision_id: Option<String>The unique identifier for a revision.
revocation_comment: Option<String>A required comment to inform subscribers of the reason their access to the revision was revoked.
Implementations§
source§impl RevokeRevisionInput
impl RevokeRevisionInput
sourcepub fn data_set_id(&self) -> Option<&str>
pub fn data_set_id(&self) -> Option<&str>
The unique identifier for a data set.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The unique identifier for a revision.
sourcepub fn revocation_comment(&self) -> Option<&str>
pub fn revocation_comment(&self) -> Option<&str>
A required comment to inform subscribers of the reason their access to the revision was revoked.
source§impl RevokeRevisionInput
impl RevokeRevisionInput
sourcepub fn builder() -> RevokeRevisionInputBuilder
pub fn builder() -> RevokeRevisionInputBuilder
Creates a new builder-style object to manufacture RevokeRevisionInput.
Trait Implementations§
source§impl Clone for RevokeRevisionInput
impl Clone for RevokeRevisionInput
source§fn clone(&self) -> RevokeRevisionInput
fn clone(&self) -> RevokeRevisionInput
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 RevokeRevisionInput
impl Debug for RevokeRevisionInput
source§impl PartialEq for RevokeRevisionInput
impl PartialEq for RevokeRevisionInput
source§fn eq(&self, other: &RevokeRevisionInput) -> bool
fn eq(&self, other: &RevokeRevisionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RevokeRevisionInput
Auto Trait Implementations§
impl Freeze for RevokeRevisionInput
impl RefUnwindSafe for RevokeRevisionInput
impl Send for RevokeRevisionInput
impl Sync for RevokeRevisionInput
impl Unpin for RevokeRevisionInput
impl UnwindSafe for RevokeRevisionInput
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.