pub struct AddAuthKeyRequest {
pub uuid: Option<Uuid>,
pub read_only: Option<bool>,
pub user_id: Option<String>,
pub comment: Option<String>,
pub allowed_ips: Option<Option<Vec<String>>>,
}
Fields§
§uuid: Option<Uuid>
§read_only: Option<bool>
§user_id: Option<String>
§comment: Option<String>
§allowed_ips: Option<Option<Vec<String>>>
Implementations§
Source§impl AddAuthKeyRequest
impl AddAuthKeyRequest
pub fn new() -> AddAuthKeyRequest
Trait Implementations§
Source§impl Clone for AddAuthKeyRequest
impl Clone for AddAuthKeyRequest
Source§fn clone(&self) -> AddAuthKeyRequest
fn clone(&self) -> AddAuthKeyRequest
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 AddAuthKeyRequest
impl Debug for AddAuthKeyRequest
Source§impl Default for AddAuthKeyRequest
impl Default for AddAuthKeyRequest
Source§fn default() -> AddAuthKeyRequest
fn default() -> AddAuthKeyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddAuthKeyRequest
impl<'de> Deserialize<'de> for AddAuthKeyRequest
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 AddAuthKeyRequest
impl PartialEq for AddAuthKeyRequest
Source§impl Serialize for AddAuthKeyRequest
impl Serialize for AddAuthKeyRequest
impl StructuralPartialEq for AddAuthKeyRequest
Auto Trait Implementations§
impl Freeze for AddAuthKeyRequest
impl RefUnwindSafe for AddAuthKeyRequest
impl Send for AddAuthKeyRequest
impl Sync for AddAuthKeyRequest
impl Unpin for AddAuthKeyRequest
impl UnwindSafe for AddAuthKeyRequest
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