pub struct KeySearchResponse {
pub keys: Option<Vec<Key>>,
pub total: Option<i64>,
}
Expand description
KeySearchResponse : Key search response
Fields§
§keys: Option<Vec<Key>>
§total: Option<i64>
Implementations§
source§impl KeySearchResponse
impl KeySearchResponse
sourcepub fn new() -> KeySearchResponse
pub fn new() -> KeySearchResponse
Key search response
Trait Implementations§
source§impl Clone for KeySearchResponse
impl Clone for KeySearchResponse
source§fn clone(&self) -> KeySearchResponse
fn clone(&self) -> KeySearchResponse
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 KeySearchResponse
impl Debug for KeySearchResponse
source§impl Default for KeySearchResponse
impl Default for KeySearchResponse
source§fn default() -> KeySearchResponse
fn default() -> KeySearchResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for KeySearchResponse
impl<'de> Deserialize<'de> for KeySearchResponse
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 KeySearchResponse
impl PartialEq for KeySearchResponse
source§fn eq(&self, other: &KeySearchResponse) -> bool
fn eq(&self, other: &KeySearchResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for KeySearchResponse
impl Serialize for KeySearchResponse
impl StructuralPartialEq for KeySearchResponse
Auto Trait Implementations§
impl RefUnwindSafe for KeySearchResponse
impl Send for KeySearchResponse
impl Sync for KeySearchResponse
impl Unpin for KeySearchResponse
impl UnwindSafe for KeySearchResponse
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