pub struct ApiKeyResponseBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ApiKeyResponseBuilder<S>
impl<S: State> ApiKeyResponseBuilder<S>
Sourcepub fn build(self) -> ApiKeyResponsewhere
S: IsComplete,
pub fn build(self) -> ApiKeyResponsewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn id(self, value: String) -> ApiKeyResponseBuilder<SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: String) -> ApiKeyResponseBuilder<SetId<S>>where
S::Id: IsUnset,
Required.
Sourcepub fn created_at(self, value: String) -> ApiKeyResponseBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
pub fn created_at(self, value: String) -> ApiKeyResponseBuilder<SetCreatedAt<S>>where
S::CreatedAt: IsUnset,
Required.
Sourcepub fn public_key(self, value: String) -> ApiKeyResponseBuilder<SetPublicKey<S>>where
S::PublicKey: IsUnset,
pub fn public_key(self, value: String) -> ApiKeyResponseBuilder<SetPublicKey<S>>where
S::PublicKey: IsUnset,
Required.
Sourcepub fn secret_key(self, value: String) -> ApiKeyResponseBuilder<SetSecretKey<S>>where
S::SecretKey: IsUnset,
pub fn secret_key(self, value: String) -> ApiKeyResponseBuilder<SetSecretKey<S>>where
S::SecretKey: IsUnset,
Required.
Sourcepub fn display_secret_key(
self,
value: String,
) -> ApiKeyResponseBuilder<SetDisplaySecretKey<S>>where
S::DisplaySecretKey: IsUnset,
pub fn display_secret_key(
self,
value: String,
) -> ApiKeyResponseBuilder<SetDisplaySecretKey<S>>where
S::DisplaySecretKey: IsUnset,
Required.
Sourcepub fn note(self, value: Option<String>) -> ApiKeyResponseBuilder<SetNote<S>>where
S::Note: IsUnset,
pub fn note(self, value: Option<String>) -> ApiKeyResponseBuilder<SetNote<S>>where
S::Note: IsUnset,
Sourcepub fn maybe_note(
self,
value: Option<Option<String>>,
) -> ApiKeyResponseBuilder<SetNote<S>>where
S::Note: IsUnset,
pub fn maybe_note(
self,
value: Option<Option<String>>,
) -> ApiKeyResponseBuilder<SetNote<S>>where
S::Note: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ApiKeyResponseBuilder<S>
impl<S> RefUnwindSafe for ApiKeyResponseBuilder<S>
impl<S> Send for ApiKeyResponseBuilder<S>
impl<S> Sync for ApiKeyResponseBuilder<S>
impl<S> Unpin for ApiKeyResponseBuilder<S>
impl<S> UnwindSafe for ApiKeyResponseBuilder<S>
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