pub enum Maintainer {
Name(String),
Info(MaintainerInfo),
}
Variants§
Name(String)
Info(MaintainerInfo)
Trait Implementations§
Source§impl Clone for Maintainer
impl Clone for Maintainer
Source§fn clone(&self) -> Maintainer
fn clone(&self) -> Maintainer
Returns a copy 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 Maintainer
impl Debug for Maintainer
Source§impl<'de> Deserialize<'de> for Maintainer
impl<'de> Deserialize<'de> for Maintainer
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 Maintainer
impl PartialEq for Maintainer
impl StructuralPartialEq for Maintainer
Auto Trait Implementations§
impl Freeze for Maintainer
impl RefUnwindSafe for Maintainer
impl Send for Maintainer
impl Sync for Maintainer
impl Unpin for Maintainer
impl UnwindSafe for Maintainer
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