pub struct PublicKeyCreateInput {
pub content: String,
pub name: Option<Option<String>>,
pub usage: PublicKeyUsage,
}Fields§
§content: String§name: Option<Option<String>>§usage: PublicKeyUsageImplementations§
Source§impl PublicKeyCreateInput
impl PublicKeyCreateInput
pub fn new(content: String, usage: PublicKeyUsage) -> PublicKeyCreateInput
Trait Implementations§
Source§impl Clone for PublicKeyCreateInput
impl Clone for PublicKeyCreateInput
Source§fn clone(&self) -> PublicKeyCreateInput
fn clone(&self) -> PublicKeyCreateInput
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 PublicKeyCreateInput
impl Debug for PublicKeyCreateInput
Source§impl Default for PublicKeyCreateInput
impl Default for PublicKeyCreateInput
Source§fn default() -> PublicKeyCreateInput
fn default() -> PublicKeyCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublicKeyCreateInput
impl<'de> Deserialize<'de> for PublicKeyCreateInput
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 PublicKeyCreateInput
impl PartialEq for PublicKeyCreateInput
Source§impl Serialize for PublicKeyCreateInput
impl Serialize for PublicKeyCreateInput
impl StructuralPartialEq for PublicKeyCreateInput
Auto Trait Implementations§
impl Freeze for PublicKeyCreateInput
impl RefUnwindSafe for PublicKeyCreateInput
impl Send for PublicKeyCreateInput
impl Sync for PublicKeyCreateInput
impl Unpin for PublicKeyCreateInput
impl UnwindSafe for PublicKeyCreateInput
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