pub struct CreateSubAccountApiKeyRequest<'a> { /* private fields */ }Expand description
Request body for SubAccount::create_subaccount_apikey.
Implementations§
Source§impl<'a> CreateSubAccountApiKeyRequest<'a>
impl<'a> CreateSubAccountApiKeyRequest<'a>
Sourcepub fn new(
sub_acct: impl Into<Cow<'a, str>>,
label: impl Into<Cow<'a, str>>,
passphrase: impl Into<String>,
) -> Self
pub fn new( sub_acct: impl Into<Cow<'a, str>>, label: impl Into<Cow<'a, str>>, passphrase: impl Into<String>, ) -> Self
Create an API key for sub_acct with a label and passphrase.
Trait Implementations§
Source§impl<'a> Clone for CreateSubAccountApiKeyRequest<'a>
impl<'a> Clone for CreateSubAccountApiKeyRequest<'a>
Source§fn clone(&self) -> CreateSubAccountApiKeyRequest<'a>
fn clone(&self) -> CreateSubAccountApiKeyRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CreateSubAccountApiKeyRequest<'a>
impl<'a> Debug for CreateSubAccountApiKeyRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateSubAccountApiKeyRequest<'a>
impl<'a> RefUnwindSafe for CreateSubAccountApiKeyRequest<'a>
impl<'a> Send for CreateSubAccountApiKeyRequest<'a>
impl<'a> Sync for CreateSubAccountApiKeyRequest<'a>
impl<'a> Unpin for CreateSubAccountApiKeyRequest<'a>
impl<'a> UnsafeUnpin for CreateSubAccountApiKeyRequest<'a>
impl<'a> UnwindSafe for CreateSubAccountApiKeyRequest<'a>
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