pub struct KeyResponse {
pub key: Option<Box<Key>>,
pub keys: Option<Vec<Key>>,
}
Expand description
KeyResponse : Key API response object.
Fields§
§key: Option<Box<Key>>
§keys: Option<Vec<Key>>
Implementations§
Source§impl KeyResponse
impl KeyResponse
Sourcepub fn new() -> KeyResponse
pub fn new() -> KeyResponse
Key API response object.
Trait Implementations§
Source§impl Clone for KeyResponse
impl Clone for KeyResponse
Source§fn clone(&self) -> KeyResponse
fn clone(&self) -> KeyResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 KeyResponse
impl Debug for KeyResponse
Source§impl Default for KeyResponse
impl Default for KeyResponse
Source§fn default() -> KeyResponse
fn default() -> KeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyResponse
impl<'de> Deserialize<'de> for KeyResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for KeyResponse
impl PartialEq for KeyResponse
Source§impl Serialize for KeyResponse
impl Serialize for KeyResponse
impl StructuralPartialEq for KeyResponse
Auto Trait Implementations§
impl Freeze for KeyResponse
impl RefUnwindSafe for KeyResponse
impl Send for KeyResponse
impl Sync for KeyResponse
impl Unpin for KeyResponse
impl UnwindSafe for KeyResponse
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