pub enum RecipientSource {
LocalFile,
LegacyGithubKeysUrl,
GithubKeys {
url: String,
username: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for RecipientSource
impl Clone for RecipientSource
Source§fn clone(&self) -> RecipientSource
fn clone(&self) -> RecipientSource
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 RecipientSource
impl Debug for RecipientSource
Source§impl<'de> Deserialize<'de> for RecipientSource
impl<'de> Deserialize<'de> for RecipientSource
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 RecipientSource
impl PartialEq for RecipientSource
Source§impl Serialize for RecipientSource
impl Serialize for RecipientSource
impl Eq for RecipientSource
impl StructuralPartialEq for RecipientSource
Auto Trait Implementations§
impl Freeze for RecipientSource
impl RefUnwindSafe for RecipientSource
impl Send for RecipientSource
impl Sync for RecipientSource
impl Unpin for RecipientSource
impl UnsafeUnpin for RecipientSource
impl UnwindSafe for RecipientSource
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