pub struct RefPrefix {
pub value: String,
pub name: String,
pub public_references: bool,
pub reference_visibility: Option<Visibility>,
}Expand description
a DOI prefix a member owns, and what it exposes through it
Fields§
§value: Stringthe prefix itself, e.g. 10.1016
name: Stringthe name the member deposits under this prefix
public_references: boolwhether the member has opened its references for this prefix
reference_visibility: Option<Visibility>who may read the references deposited under this prefix
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RefPrefix
impl<'de> Deserialize<'de> for RefPrefix
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 RefPrefix
impl RefUnwindSafe for RefPrefix
impl Send for RefPrefix
impl Sync for RefPrefix
impl Unpin for RefPrefix
impl UnsafeUnpin for RefPrefix
impl UnwindSafe for RefPrefix
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