pub struct KeyringResponse {
pub messages: HashMap<String, String>,
pub keys: HashMap<String, i64>,
pub num_nodes: i64,
}
Expand description
KeyringResponse is a unified key response and can be used for install, remove, use, as well as listing key queries.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§messages: HashMap<String, String>
§keys: HashMap<String, i64>
§num_nodes: i64
Implementations§
Source§impl KeyringResponse
impl KeyringResponse
pub fn builder() -> KeyringResponseBuilder
Trait Implementations§
Source§impl Clone for KeyringResponse
impl Clone for KeyringResponse
Source§fn clone(&self) -> KeyringResponse
fn clone(&self) -> KeyringResponse
Returns a copy 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 KeyringResponse
impl Debug for KeyringResponse
Source§impl Default for KeyringResponse
impl Default for KeyringResponse
Source§fn default() -> KeyringResponse
fn default() -> KeyringResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyringResponse
impl<'de> Deserialize<'de> for KeyringResponse
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 KeyringResponse
impl PartialEq for KeyringResponse
Source§impl Serialize for KeyringResponse
impl Serialize for KeyringResponse
impl StructuralPartialEq for KeyringResponse
Auto Trait Implementations§
impl Freeze for KeyringResponse
impl RefUnwindSafe for KeyringResponse
impl Send for KeyringResponse
impl Sync for KeyringResponse
impl Unpin for KeyringResponse
impl UnwindSafe for KeyringResponse
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