pub enum GrantSponsors {
Person(Person),
Organization(Organization),
}
Expand description
Types permitted for the sponsors
property of a Grant
node.
Variants§
Person(Person)
Organization(Organization)
Trait Implementations§
Source§impl AsRef<str> for GrantSponsors
impl AsRef<str> for GrantSponsors
Source§impl Clone for GrantSponsors
impl Clone for GrantSponsors
Source§fn clone(&self) -> GrantSponsors
fn clone(&self) -> GrantSponsors
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 GrantSponsors
impl Debug for GrantSponsors
Source§impl<'de> Deserialize<'de> for GrantSponsors
impl<'de> Deserialize<'de> for GrantSponsors
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 GrantSponsors
impl RefUnwindSafe for GrantSponsors
impl Send for GrantSponsors
impl Sync for GrantSponsors
impl Unpin for GrantSponsors
impl UnwindSafe for GrantSponsors
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