Struct activitystreams_types::object::properties::ProfileProperties [−][src]
pub struct ProfileProperties {
pub describes: Value,
}Define all the properties of the Profile type as described by the Activity Streams vocabulary.
Fields
describes: Value
On a Profile object, the describes property identifies the object described by the
Profile.
- Range:
Object - Functional: true
Methods
impl ProfileProperties[src]
impl ProfilePropertiespub fn describes_object<T: Object>(&self) -> Result<T>[src]
pub fn describes_object<T: Object>(&self) -> Result<T>Retrieve a value of type T from the given struct
This method deserializes the item from JSON, so be wary of using this a lot.
Possible errors from this method are Error::Deserialize
pub fn set_describes_object<T: Object>(&mut self, item: T) -> Result<()>[src]
pub fn set_describes_object<T: Object>(&mut self, item: T) -> Result<()>Set a value of type T in the given struct
This method serializes the item to JSON, so be wary of using this a lot.
Possible errors from this method are Error::Serialize
Trait Implementations
impl Clone for ProfileProperties[src]
impl Clone for ProfilePropertiesfn clone(&self) -> ProfileProperties[src]
fn clone(&self) -> ProfilePropertiesReturns 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 ProfileProperties[src]
impl Debug for ProfilePropertiesfn 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 ProfileProperties[src]
impl Default for ProfilePropertiesfn default() -> ProfileProperties[src]
fn default() -> ProfilePropertiesReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ProfileProperties
impl Send for ProfilePropertiesimpl Sync for ProfileProperties
impl Sync for ProfileProperties