pub struct KeyCreateResponse { /* private fields */ }Implementations§
Source§impl KeyCreateResponse
impl KeyCreateResponse
pub fn budget_limit<T>(self, value: T) -> Self
pub fn budget_remaining<T>(self, value: T) -> Self
pub fn budget_used<T>(self, value: T) -> Self
pub fn chain_id<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn expires_at<T>(self, value: T) -> Self
pub fn key_id<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn purpose<T>(self, value: T) -> Self
pub fn token<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for KeyCreateResponse
impl Clone for KeyCreateResponse
Source§fn clone(&self) -> KeyCreateResponse
fn clone(&self) -> KeyCreateResponse
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 Debug for KeyCreateResponse
impl Debug for KeyCreateResponse
Source§impl Default for KeyCreateResponse
impl Default for KeyCreateResponse
Source§impl From<KeyCreateResponse> for KeyCreateResponse
impl From<KeyCreateResponse> for KeyCreateResponse
Source§fn from(value: KeyCreateResponse) -> Self
fn from(value: KeyCreateResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<KeyCreateResponse> for KeyCreateResponse
impl TryFrom<KeyCreateResponse> for KeyCreateResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KeyCreateResponse) -> Result<Self, ConversionError>
fn try_from(value: KeyCreateResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KeyCreateResponse
impl RefUnwindSafe for KeyCreateResponse
impl Send for KeyCreateResponse
impl Sync for KeyCreateResponse
impl Unpin for KeyCreateResponse
impl UnsafeUnpin for KeyCreateResponse
impl UnwindSafe for KeyCreateResponse
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