pub enum KeysKeyIdPutBody {
ApplicationJson(PrivateKey),
MultipartFormData(String),
}Variants§
ApplicationJson(PrivateKey)
MultipartFormData(String)
Implementations§
Source§impl KeysKeyIdPutBody
impl KeysKeyIdPutBody
pub fn content_type(&self) -> &'static str
pub fn is_json(&self) -> bool
pub fn get_string(&self) -> String
Trait Implementations§
Source§impl Clone for KeysKeyIdPutBody
impl Clone for KeysKeyIdPutBody
Source§fn clone(&self) -> KeysKeyIdPutBody
fn clone(&self) -> KeysKeyIdPutBody
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 KeysKeyIdPutBody
impl Debug for KeysKeyIdPutBody
Source§impl<'de> Deserialize<'de> for KeysKeyIdPutBody
impl<'de> Deserialize<'de> for KeysKeyIdPutBody
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
Auto Trait Implementations§
impl Freeze for KeysKeyIdPutBody
impl RefUnwindSafe for KeysKeyIdPutBody
impl Send for KeysKeyIdPutBody
impl Sync for KeysKeyIdPutBody
impl Unpin for KeysKeyIdPutBody
impl UnwindSafe for KeysKeyIdPutBody
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