Struct activitystreams_types::object::kind::DocumentType [−][src]
pub struct DocumentType;
A Unit Struct that represents the string "Document"
Trait Implementations
impl Clone for DocumentType[src]
impl Clone for DocumentTypefn clone(&self) -> DocumentType[src]
fn clone(&self) -> DocumentTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for DocumentType[src]
impl Debug for DocumentTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for DocumentType[src]
impl Default for DocumentTypefn default() -> DocumentType[src]
fn default() -> DocumentTypeReturns the "default value" for a type. Read more
impl Serialize for DocumentType[src]
impl Serialize for DocumentTypefn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, [src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer, Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for DocumentType[src]
impl<'de> Deserialize<'de> for DocumentTypefn deserialize<D>(deserializer: D) -> Result<DocumentType, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<DocumentType, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for DocumentType
impl Send for DocumentTypeimpl Sync for DocumentType
impl Sync for DocumentType