pub struct CommunityRef {
pub identifier: String,
pub extra: BTreeMap<String, Value>,
}Expand description
Reference to a Zenodo community.
Fields§
§identifier: StringCommunity identifier.
extra: BTreeMap<String, Value>Additional untyped fields preserved for forward compatibility.
Implementations§
Source§impl CommunityRef
impl CommunityRef
Sourcepub fn builder() -> CommunityRefBuilder
pub fn builder() -> CommunityRefBuilder
Starts building a community reference.
Trait Implementations§
Source§impl Clone for CommunityRef
impl Clone for CommunityRef
Source§fn clone(&self) -> CommunityRef
fn clone(&self) -> CommunityRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommunityRef
impl Debug for CommunityRef
Source§impl Default for CommunityRef
impl Default for CommunityRef
Source§fn default() -> CommunityRef
fn default() -> CommunityRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommunityRef
impl<'de> Deserialize<'de> for CommunityRef
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 CommunityRef
impl PartialEq for CommunityRef
Source§fn eq(&self, other: &CommunityRef) -> bool
fn eq(&self, other: &CommunityRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommunityRef
impl Serialize for CommunityRef
impl Eq for CommunityRef
impl StructuralPartialEq for CommunityRef
Auto Trait Implementations§
impl Freeze for CommunityRef
impl RefUnwindSafe for CommunityRef
impl Send for CommunityRef
impl Sync for CommunityRef
impl Unpin for CommunityRef
impl UnsafeUnpin for CommunityRef
impl UnwindSafe for CommunityRef
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