pub struct CreateRecipientBuilder { /* private fields */ }Expand description
Builder for creating a recipient
Implementations§
Source§impl CreateRecipientBuilder
impl CreateRecipientBuilder
Sourcepub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
pub fn with_comment(self, comment: impl Into<Option<String>>) -> Self
Description about the recipient.
Sourcepub fn with_properties<I, K, V>(self, properties: I) -> Self
pub fn with_properties<I, K, V>(self, properties: I) -> Self
Recipient properties as map of string key-value pairs.
When provided in update request, the specified properties will override the existing properties. To add and remove properties, one would need to perform a read-modify-write.
Sourcepub fn with_expiration_time(
self,
expiration_time: impl Into<Option<i64>>,
) -> Self
pub fn with_expiration_time( self, expiration_time: impl Into<Option<i64>>, ) -> Self
Expiration timestamp of the token, in epoch milliseconds.
Trait Implementations§
Source§impl IntoFuture for CreateRecipientBuilder
impl IntoFuture for CreateRecipientBuilder
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateRecipientBuilder as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateRecipientBuilder as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateRecipientBuilder
impl !UnwindSafe for CreateRecipientBuilder
impl Freeze for CreateRecipientBuilder
impl Send for CreateRecipientBuilder
impl Sync for CreateRecipientBuilder
impl Unpin for CreateRecipientBuilder
impl UnsafeUnpin for CreateRecipientBuilder
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