pub struct GetKeyResponseBody {
pub key: Option<KeyRecord>,
}Expand description
keys/show/0.1 response — the record under key, or null where the
maintainer holds none for that identifier.
“No such key” is a successful answer, not an error: a caller that cannot distinguish absence from failure retries a lookup that will never succeed.
Fields§
§key: Option<KeyRecord>Trait Implementations§
Source§impl Clone for GetKeyResponseBody
impl Clone for GetKeyResponseBody
Source§fn clone(&self) -> GetKeyResponseBody
fn clone(&self) -> GetKeyResponseBody
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 GetKeyResponseBody
impl Debug for GetKeyResponseBody
Source§impl<'de> Deserialize<'de> for GetKeyResponseBody
impl<'de> Deserialize<'de> for GetKeyResponseBody
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
Auto Trait Implementations§
impl Freeze for GetKeyResponseBody
impl RefUnwindSafe for GetKeyResponseBody
impl Send for GetKeyResponseBody
impl Sync for GetKeyResponseBody
impl Unpin for GetKeyResponseBody
impl UnsafeUnpin for GetKeyResponseBody
impl UnwindSafe for GetKeyResponseBody
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