pub struct Resource {
pub base64: Option<Base64>,
pub citation: Option<Citation>,
pub description: Option<String>,
pub document_ids: Option<Vec<DocumentIdentifier>>,
pub props: Option<Vec<Property>>,
pub remarks: Option<String>,
pub rlinks: Option<Vec<ResourceLink>>,
pub title: Option<String>,
pub uuid: String,
}
Expand description
A resource associated with content in the containing document instance. A resource may be directly included in the document using base64 encoding or may point to one or more equivalent internet resources.
Fields§
§base64: Option<Base64>
A resource encoded using the Base64 alphabet defined by RFC 2045.
citation: Option<Citation>
An optional citation consisting of end note text using structured markup.
description: Option<String>
An optional short summary of the resource used to indicate the purpose of the resource.
document_ids: Option<Vec<DocumentIdentifier>>
§props: Option<Vec<Property>>
§remarks: Option<String>
§rlinks: Option<Vec<ResourceLink>>
§title: Option<String>
An optional name given to the resource, which may be used by a tool for display and navigation.
uuid: String
A unique identifier for a resource.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resource
impl<'de> Deserialize<'de> for Resource
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 Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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