pub struct PaperRights {
pub metadata_license: String,
pub document_license: String,
pub search_license: Option<String>,
pub jats_license: Option<String>,
pub jats_licenses: Vec<String>,
pub jats_permissions: Vec<String>,
pub license_conflict: bool,
pub access_status: String,
pub attribution: String,
pub terms_url: Option<String>,
pub evidence: Vec<String>,
pub redistribution_warning: String,
}Expand description
Document access and license evidence, separated from metadata licensing.
Fields§
§metadata_license: StringLicense or terms applying to provider metadata.
document_license: StringExplicit document license, or a truthful provider distribution status.
search_license: Option<String>License reported by provider search metadata, before document inspection.
jats_license: Option<String>License or controlling permissions extracted from archived JATS.
jats_licenses: Vec<String>Every bounded JATS license record retained as raw evidence.
jats_permissions: Vec<String>Plain-text JATS permissions retained separately from search metadata.
license_conflict: boolWhether search and JATS license families conflict.
access_status: StringProvider access classification.
attribution: StringCreator or provider attribution evidence.
terms_url: Option<String>License or provider-use terms URL when supplied.
evidence: Vec<String>Plain-text provider and document permissions evidence.
redistribution_warning: StringWarning against inferring redistribution permission.
Trait Implementations§
Source§impl Clone for PaperRights
impl Clone for PaperRights
Source§fn clone(&self) -> PaperRights
fn clone(&self) -> PaperRights
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 PaperRights
impl Debug for PaperRights
Source§impl<'de> Deserialize<'de> for PaperRights
impl<'de> Deserialize<'de> for PaperRights
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
impl Eq for PaperRights
Source§impl PartialEq for PaperRights
impl PartialEq for PaperRights
Source§impl Serialize for PaperRights
impl Serialize for PaperRights
impl StructuralPartialEq for PaperRights
Auto Trait Implementations§
impl Freeze for PaperRights
impl RefUnwindSafe for PaperRights
impl Send for PaperRights
impl Sync for PaperRights
impl Unpin for PaperRights
impl UnsafeUnpin for PaperRights
impl UnwindSafe for PaperRights
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