pub struct SearchAuthKeysRequest {Show 13 fields
pub page: Option<Option<i32>>,
pub limit: Option<Option<i32>>,
pub id: Option<String>,
pub uuid: Option<Uuid>,
pub authkey_start: Option<String>,
pub authkey_end: Option<String>,
pub created: Option<Option<String>>,
pub expiration: Option<Option<String>>,
pub read_only: Option<bool>,
pub user_id: Option<String>,
pub comment: Option<String>,
pub allowed_ips: Option<String>,
pub last_used: Option<Option<String>>,
}
Fields§
§page: Option<Option<i32>>
§limit: Option<Option<i32>>
§id: Option<String>
§uuid: Option<Uuid>
§authkey_start: Option<String>
Search term matching the first 4 characers of the authkey
authkey_end: Option<String>
Search term matching the last 4 characers of the authkey
created: Option<Option<String>>
You can use any of the valid time related filters (examples: 7d, timestamps, [14d, 7d] for ranges, etc.)
expiration: Option<Option<String>>
You can use any of the valid time related filters (examples: 7d, timestamps, [14d, 7d] for ranges, etc.)
read_only: Option<bool>
§user_id: Option<String>
§comment: Option<String>
§allowed_ips: Option<String>
Stringified JSON array of the IP addresses.
last_used: Option<Option<String>>
You can use any of the valid time related filters (examples: 7d, timestamps, [14d, 7d] for ranges, etc.)
Implementations§
Source§impl SearchAuthKeysRequest
impl SearchAuthKeysRequest
pub fn new() -> SearchAuthKeysRequest
Trait Implementations§
Source§impl Clone for SearchAuthKeysRequest
impl Clone for SearchAuthKeysRequest
Source§fn clone(&self) -> SearchAuthKeysRequest
fn clone(&self) -> SearchAuthKeysRequest
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 SearchAuthKeysRequest
impl Debug for SearchAuthKeysRequest
Source§impl Default for SearchAuthKeysRequest
impl Default for SearchAuthKeysRequest
Source§fn default() -> SearchAuthKeysRequest
fn default() -> SearchAuthKeysRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SearchAuthKeysRequest
impl<'de> Deserialize<'de> for SearchAuthKeysRequest
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 SearchAuthKeysRequest
impl PartialEq for SearchAuthKeysRequest
Source§impl Serialize for SearchAuthKeysRequest
impl Serialize for SearchAuthKeysRequest
impl StructuralPartialEq for SearchAuthKeysRequest
Auto Trait Implementations§
impl Freeze for SearchAuthKeysRequest
impl RefUnwindSafe for SearchAuthKeysRequest
impl Send for SearchAuthKeysRequest
impl Sync for SearchAuthKeysRequest
impl Unpin for SearchAuthKeysRequest
impl UnwindSafe for SearchAuthKeysRequest
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