#[non_exhaustive]pub struct CreateGrantOutput {
pub grant_token: Option<String>,
pub grant_id: Option<String>,
/* private fields */
}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.grant_token: Option<String>The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
grant_id: Option<String>The unique identifier for the grant.
You can use the GrantId in a ListGrants, RetireGrant, or RevokeGrant operation.
Implementations§
Source§impl CreateGrantOutput
impl CreateGrantOutput
Sourcepub fn grant_token(&self) -> Option<&str>
pub fn grant_token(&self) -> Option<&str>
The grant token.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
Source§impl CreateGrantOutput
impl CreateGrantOutput
Sourcepub fn builder() -> CreateGrantOutputBuilder
pub fn builder() -> CreateGrantOutputBuilder
Creates a new builder-style object to manufacture CreateGrantOutput.
Source§impl CreateGrantOutput
impl CreateGrantOutput
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for CreateGrantOutput
impl Clone for CreateGrantOutput
Source§fn clone(&self) -> CreateGrantOutput
fn clone(&self) -> CreateGrantOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateGrantOutput
impl Debug for CreateGrantOutput
Source§impl PartialEq for CreateGrantOutput
impl PartialEq for CreateGrantOutput
Source§impl RequestId for CreateGrantOutput
impl RequestId for CreateGrantOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.Source§impl SerializableStruct for CreateGrantOutput
impl SerializableStruct for CreateGrantOutput
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for CreateGrantOutput
Auto Trait Implementations§
impl Freeze for CreateGrantOutput
impl RefUnwindSafe for CreateGrantOutput
impl Send for CreateGrantOutput
impl Sync for CreateGrantOutput
impl Unpin for CreateGrantOutput
impl UnsafeUnpin for CreateGrantOutput
impl UnwindSafe for CreateGrantOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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 more