[][src]Struct activitystreams::object::properties::ObjectProperties

Define all the properties of the Object base type as described by the Activity Streams vocabulary.

In addition to having a global identifier (expressed as an absolute IRI using the id property) and an "object type"(expressed using the type property), all instances of the Object type share a common set of properties normatively defined by the Activity Vocabulary.

This struct does not provide an optional type property, if you are implementing your own object type, you must supply your own type. This crate's provided object types all supply their own type properties as Unit Structs with custom serde behaviour.

All properties are optional (including the id and type).

Fields

id: Option<XsdAnyUri>

Provides the globally unique identifier for an Object or Link.

The id property is expressed as an absolute IRI in the spec, but for now is represented as a string.

  • Range: xsd:anyUri
  • Functional: true
attachment: Option<ObjectPropertiesAttachmentEnum>

Identifies a resource attached or related to an object that potentially requires special handling.

The intent is to provide a model that is at least semantically similar to attachments in email.

  • Range: Object | Link
  • Functional: false
attributed_to: Option<ObjectPropertiesAttributedToEnum>

Identifies one or more entities to which this object is attributed.

The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity.

  • Range: Object | Link
  • Functional: false
audience: Option<ObjectPropertiesAudienceEnum>

Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant.

  • Range: Object | Link
  • Functional: false
content: Option<ObjectPropertiesContentEnum>

The content or textual representation of the Object encoded as a JSON string.

By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type.

The content MAY be expressed using multiple language-tagged values.

  • Range: xsd:string | rdf:langString
  • Functional: false
context: Option<ObjectPropertiesContextEnum>

Identifies the context within which the object exists or an activity was performed.

The notion of "context"used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event.

  • Range: Object | Link
  • Functional: false
name: Option<ObjectPropertiesNameEnum>

A simple, human-readable, plain-text name for the object.

HTML markup MUST NOT be included. The name MAY be expressed using multiple language-tagged values.

  • Range: xsd:string | rdf:langString
  • Functional: false
end_time: Option<XsdDateTime>

The date and time describing the actual or expected ending time of the object.

When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude.

  • Range: xsd:dateTime
  • Functional: true
generator: Option<ObjectPropertiesGeneratorEnum>

Identifies the entity (e.g. an application) that generated the object.

  • Range: Object | Link
  • Functional: false
icon: Option<ObjectPropertiesIconEnum>

Indicates an entity that describes an icon for this object.

The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size.

  • Range: Image | Link
  • Functional: false
image: Option<ObjectPropertiesImageEnum>

Indicates an entity that describes an image for this object.

Unlike the icon property, there are no aspect ratio or display size limitations assumed.

  • Range: Image | Link
  • Functional: false
in_reply_to: Option<ObjectPropertiesInReplyToEnum>

Indicates one or more entities for which this object is considered a response.

  • Range: Object | Link
  • Functional: false
location: Option<ObjectPropertiesLocationEnum>

Indicates one or more physical or logical locations associated with the object.

  • Range: Object | Link
  • Functional: false
preview: Option<ObjectPropertiesPreviewEnum>

Identifies an entity that provides a preview of this object.

  • Range: Object | Link
  • Functional: false
published: Option<XsdDateTime>

The date and time at which the object was published.

  • Range: xsd:dateTime
  • Functional: true
replies: Option<ObjectPropertiesRepliesEnum>

Identifies a Collection containing objects considered to be responses to this object.

  • Range: Object | Link
  • Functional: false
start_time: Option<XsdDateTime>

The date and time describing the actual or expected starting time of the object.

When used with an Activity object, for instance, the start_time property specifies the moment the activity began or is scheduled to begin.

  • Range: xsd:DateTime
  • Functional: true
summary: Option<ObjectPropertiesSummaryEnum>

A natural language summarization of the object encoded as HTML.

Multiple language tagged summaries MAY be provided.

  • Range: xsd:string | rdf:langString
  • Functional: false
tag: Option<ObjectPropertiesTagEnum>

One or more "tags" that have been associated with an objects. A tag can be any kind of Object.

The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.

  • Range: Object | Link
  • Functional: false
updated: Option<XsdDateTime>

The date and time at which the object was updated,

  • Range: xsd:dateTime
  • Functional: true
url: Option<ObjectPropertiesUrlEnum>

Identifies one or more links to representations of the object.

  • Range: xsd:anyUri | Link
  • Functional: false
to: Option<ObjectPropertiesToEnum>

Identifies an entity considered to be part of the public primary audience of an Object.

  • Range: Object | Link
  • Functional: false
bto: Option<ObjectPropertiesBtoEnum>

Identifies an Object that is part of the private primary audience of this Object.

  • Range: Object | Link
  • Functional: false
cc: Option<ObjectPropertiesCcEnum>

Identifies an Object that is part of the public secondary audience of this Object.

  • Range: Object | Link
  • Functional: false
bcc: Option<ObjectPropertiesBccEnum>

Identifies one or more Objects that are part of the private secondary audience of this Object.

  • Range: Object | Link
  • Functional: false
media_type: Option<MimeMediaType>

When used on an Object, identifies the MIME media type of the value of the content property.

If not specified, the content property is assumed to contain text/html content.

  • Range: Mime Media Type
  • Functional: true
duration: Option<XsdDuration>

When the object describes a time-bound resource, such as an audio or video, a meeting, etc, the duration property indicates the object's approximate duration.

The value MUST be expressed as an xsd:duration as defined by [xmlschema11-2], section 3.3.6 (e.g. a period of 5 seconds is represented as "PT5S").

  • Range: xsd:duration
  • Functional: true

Implementations

impl ObjectProperties[src]

pub fn get_id(&self) -> Option<&XsdAnyUri>[src]

Get id as a XsdAnyUri

This returns None if there is no value present

pub fn set_id<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set the id with a type that can be converted into XsdAnyUri

pub fn get_attachment_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get attachment as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_attachment_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set attachment from a value that can be converted into XsdAnyUri

pub fn get_many_attachment_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get attachment as a slice of ObjectPropertiesAttachmentTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_attachment_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set attachment from a vec of items that can be converted into XsdAnyUris

pub fn get_attachment_base_box(&self) -> Option<&BaseBox>[src]

Get attachment as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_attachment_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set attachment from a value that can be converted into BaseBox

pub fn get_many_attachment_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get attachment as a slice of ObjectPropertiesAttachmentTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_attachment_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set attachment from a vec of items that can be converted into BaseBoxs

pub fn delete_attachment(&mut self) -> &mut Self[src]

Set the attachment field to None

pub fn get_attributed_to_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get attributed_to as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_attributed_to_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set attributed_to from a value that can be converted into XsdAnyUri

pub fn get_many_attributed_to_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get attributed_to as a slice of ObjectPropertiesAttributedToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_attributed_to_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set attributed_to from a vec of items that can be converted into XsdAnyUris

pub fn get_attributed_to_base_box(&self) -> Option<&BaseBox>[src]

Get attributed_to as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_attributed_to_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set attributed_to from a value that can be converted into BaseBox

pub fn get_many_attributed_to_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get attributed_to as a slice of ObjectPropertiesAttributedToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_attributed_to_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set attributed_to from a vec of items that can be converted into BaseBoxs

pub fn delete_attributed_to(&mut self) -> &mut Self[src]

Set the attributed_to field to None

pub fn get_audience_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get audience as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_audience_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set audience from a value that can be converted into XsdAnyUri

pub fn get_many_audience_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get audience as a slice of ObjectPropertiesAudienceTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_audience_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set audience from a vec of items that can be converted into XsdAnyUris

pub fn get_audience_base_box(&self) -> Option<&BaseBox>[src]

Get audience as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_audience_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set audience from a value that can be converted into BaseBox

pub fn get_many_audience_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get audience as a slice of ObjectPropertiesAudienceTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_audience_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set audience from a vec of items that can be converted into BaseBoxs

pub fn delete_audience(&mut self) -> &mut Self[src]

Set the audience field to None

pub fn get_content_xsd_string(&self) -> Option<&XsdString>[src]

Get content as a XsdString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_content_xsd_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set content from a value that can be converted into XsdString

pub fn get_many_content_xsd_strings(
    &self
) -> Option<impl Iterator<Item = &XsdString>>
[src]

Get content as a slice of ObjectPropertiesContentTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_content_xsd_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set content from a vec of items that can be converted into XsdStrings

pub fn get_content_rdf_lang_string(&self) -> Option<&RdfLangString>[src]

Get content as a RdfLangString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_content_rdf_lang_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set content from a value that can be converted into RdfLangString

pub fn get_many_content_rdf_lang_strings(
    &self
) -> Option<impl Iterator<Item = &RdfLangString>>
[src]

Get content as a slice of ObjectPropertiesContentTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_content_rdf_lang_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set content from a vec of items that can be converted into RdfLangStrings

pub fn delete_content(&mut self) -> &mut Self[src]

Set the content field to None

pub fn get_context_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get context as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_context_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set context from a value that can be converted into XsdAnyUri

pub fn get_many_context_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get context as a slice of ObjectPropertiesContextTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_context_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set context from a vec of items that can be converted into XsdAnyUris

pub fn get_context_base_box(&self) -> Option<&BaseBox>[src]

Get context as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_context_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set context from a value that can be converted into BaseBox

pub fn get_many_context_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get context as a slice of ObjectPropertiesContextTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_context_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set context from a vec of items that can be converted into BaseBoxs

pub fn delete_context(&mut self) -> &mut Self[src]

Set the context field to None

pub fn get_name_xsd_string(&self) -> Option<&XsdString>[src]

Get name as a XsdString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_name_xsd_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set name from a value that can be converted into XsdString

pub fn get_many_name_xsd_strings(
    &self
) -> Option<impl Iterator<Item = &XsdString>>
[src]

Get name as a slice of ObjectPropertiesNameTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_name_xsd_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set name from a vec of items that can be converted into XsdStrings

pub fn get_name_rdf_lang_string(&self) -> Option<&RdfLangString>[src]

Get name as a RdfLangString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_name_rdf_lang_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set name from a value that can be converted into RdfLangString

pub fn get_many_name_rdf_lang_strings(
    &self
) -> Option<impl Iterator<Item = &RdfLangString>>
[src]

Get name as a slice of ObjectPropertiesNameTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_name_rdf_lang_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set name from a vec of items that can be converted into RdfLangStrings

pub fn delete_name(&mut self) -> &mut Self[src]

Set the name field to None

pub fn get_end_time(&self) -> Option<&XsdDateTime>[src]

Get end_time as a XsdDateTime

This returns None if there is no value present

pub fn set_end_time<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdDateTime>>::Error> where
    T: TryInto<XsdDateTime>, 
[src]

Set the end_time with a type that can be converted into XsdDateTime

pub fn get_generator_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get generator as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_generator_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set generator from a value that can be converted into XsdAnyUri

pub fn get_many_generator_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get generator as a slice of ObjectPropertiesGeneratorTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_generator_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set generator from a vec of items that can be converted into XsdAnyUris

pub fn get_generator_base_box(&self) -> Option<&BaseBox>[src]

Get generator as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_generator_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set generator from a value that can be converted into BaseBox

pub fn get_many_generator_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get generator as a slice of ObjectPropertiesGeneratorTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_generator_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set generator from a vec of items that can be converted into BaseBoxs

pub fn delete_generator(&mut self) -> &mut Self[src]

Set the generator field to None

pub fn get_icon_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get icon as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_icon_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set icon from a value that can be converted into XsdAnyUri

pub fn get_many_icon_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get icon as a slice of ObjectPropertiesIconTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_icon_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set icon from a vec of items that can be converted into XsdAnyUris

pub fn get_icon_any_image(&self) -> Option<&AnyImage>[src]

Get icon as a AnyImage

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_icon_any_image<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<AnyImage>>::Error> where
    T: TryInto<AnyImage>, 
[src]

Set icon from a value that can be converted into AnyImage

pub fn get_many_icon_any_images(
    &self
) -> Option<impl Iterator<Item = &AnyImage>>
[src]

Get icon as a slice of ObjectPropertiesIconTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_icon_any_images<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<AnyImage>>::Error> where
    T: TryInto<AnyImage>, 
[src]

Set icon from a vec of items that can be converted into AnyImages

Get icon as a LinkBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

Set icon from a value that can be converted into LinkBox

Get icon as a slice of ObjectPropertiesIconTermEnums

This returns None if

  • There is no value present
  • There is only one value present

Set icon from a vec of items that can be converted into LinkBoxs

pub fn delete_icon(&mut self) -> &mut Self[src]

Set the icon field to None

pub fn get_image_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get image as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_image_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set image from a value that can be converted into XsdAnyUri

pub fn get_many_image_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get image as a slice of ObjectPropertiesImageTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_image_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set image from a vec of items that can be converted into XsdAnyUris

pub fn get_image_any_image(&self) -> Option<&AnyImage>[src]

Get image as a AnyImage

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_image_any_image<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<AnyImage>>::Error> where
    T: TryInto<AnyImage>, 
[src]

Set image from a value that can be converted into AnyImage

pub fn get_many_image_any_images(
    &self
) -> Option<impl Iterator<Item = &AnyImage>>
[src]

Get image as a slice of ObjectPropertiesImageTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_image_any_images<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<AnyImage>>::Error> where
    T: TryInto<AnyImage>, 
[src]

Set image from a vec of items that can be converted into AnyImages

Get image as a LinkBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

Set image from a value that can be converted into LinkBox

Get image as a slice of ObjectPropertiesImageTermEnums

This returns None if

  • There is no value present
  • There is only one value present

Set image from a vec of items that can be converted into LinkBoxs

pub fn delete_image(&mut self) -> &mut Self[src]

Set the image field to None

pub fn get_in_reply_to_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get in_reply_to as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_in_reply_to_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set in_reply_to from a value that can be converted into XsdAnyUri

pub fn get_many_in_reply_to_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get in_reply_to as a slice of ObjectPropertiesInReplyToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_in_reply_to_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set in_reply_to from a vec of items that can be converted into XsdAnyUris

pub fn get_in_reply_to_base_box(&self) -> Option<&BaseBox>[src]

Get in_reply_to as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_in_reply_to_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set in_reply_to from a value that can be converted into BaseBox

pub fn get_many_in_reply_to_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get in_reply_to as a slice of ObjectPropertiesInReplyToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_in_reply_to_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set in_reply_to from a vec of items that can be converted into BaseBoxs

pub fn delete_in_reply_to(&mut self) -> &mut Self[src]

Set the in_reply_to field to None

pub fn get_location_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get location as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_location_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set location from a value that can be converted into XsdAnyUri

pub fn get_many_location_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get location as a slice of ObjectPropertiesLocationTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_location_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set location from a vec of items that can be converted into XsdAnyUris

pub fn get_location_base_box(&self) -> Option<&BaseBox>[src]

Get location as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_location_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set location from a value that can be converted into BaseBox

pub fn get_many_location_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get location as a slice of ObjectPropertiesLocationTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_location_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set location from a vec of items that can be converted into BaseBoxs

pub fn delete_location(&mut self) -> &mut Self[src]

Set the location field to None

pub fn get_preview_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get preview as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_preview_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set preview from a value that can be converted into XsdAnyUri

pub fn get_many_preview_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get preview as a slice of ObjectPropertiesPreviewTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_preview_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set preview from a vec of items that can be converted into XsdAnyUris

pub fn get_preview_base_box(&self) -> Option<&BaseBox>[src]

Get preview as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_preview_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set preview from a value that can be converted into BaseBox

pub fn get_many_preview_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get preview as a slice of ObjectPropertiesPreviewTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_preview_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set preview from a vec of items that can be converted into BaseBoxs

pub fn delete_preview(&mut self) -> &mut Self[src]

Set the preview field to None

pub fn get_published(&self) -> Option<&XsdDateTime>[src]

Get published as a XsdDateTime

This returns None if there is no value present

pub fn set_published<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdDateTime>>::Error> where
    T: TryInto<XsdDateTime>, 
[src]

Set the published with a type that can be converted into XsdDateTime

pub fn get_replies_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get replies as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_replies_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set replies from a value that can be converted into XsdAnyUri

pub fn get_many_replies_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get replies as a slice of ObjectPropertiesRepliesTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_replies_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set replies from a vec of items that can be converted into XsdAnyUris

pub fn get_replies_base_box(&self) -> Option<&BaseBox>[src]

Get replies as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_replies_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set replies from a value that can be converted into BaseBox

pub fn get_many_replies_base_boxes(
    &self
) -> Option<impl Iterator<Item = &BaseBox>>
[src]

Get replies as a slice of ObjectPropertiesRepliesTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_replies_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set replies from a vec of items that can be converted into BaseBoxs

pub fn delete_replies(&mut self) -> &mut Self[src]

Set the replies field to None

pub fn get_start_time(&self) -> Option<&XsdDateTime>[src]

Get start_time as a XsdDateTime

This returns None if there is no value present

pub fn set_start_time<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdDateTime>>::Error> where
    T: TryInto<XsdDateTime>, 
[src]

Set the start_time with a type that can be converted into XsdDateTime

pub fn get_summary_xsd_string(&self) -> Option<&XsdString>[src]

Get summary as a XsdString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_summary_xsd_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set summary from a value that can be converted into XsdString

pub fn get_many_summary_xsd_strings(
    &self
) -> Option<impl Iterator<Item = &XsdString>>
[src]

Get summary as a slice of ObjectPropertiesSummaryTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_summary_xsd_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdString>>::Error> where
    T: TryInto<XsdString>, 
[src]

Set summary from a vec of items that can be converted into XsdStrings

pub fn get_summary_rdf_lang_string(&self) -> Option<&RdfLangString>[src]

Get summary as a RdfLangString

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_summary_rdf_lang_string<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set summary from a value that can be converted into RdfLangString

pub fn get_many_summary_rdf_lang_strings(
    &self
) -> Option<impl Iterator<Item = &RdfLangString>>
[src]

Get summary as a slice of ObjectPropertiesSummaryTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_summary_rdf_lang_strings<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<RdfLangString>>::Error> where
    T: TryInto<RdfLangString>, 
[src]

Set summary from a vec of items that can be converted into RdfLangStrings

pub fn delete_summary(&mut self) -> &mut Self[src]

Set the summary field to None

pub fn get_tag_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get tag as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_tag_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set tag from a value that can be converted into XsdAnyUri

pub fn get_many_tag_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get tag as a slice of ObjectPropertiesTagTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_tag_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set tag from a vec of items that can be converted into XsdAnyUris

pub fn get_tag_base_box(&self) -> Option<&BaseBox>[src]

Get tag as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_tag_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set tag from a value that can be converted into BaseBox

pub fn get_many_tag_base_boxes(&self) -> Option<impl Iterator<Item = &BaseBox>>[src]

Get tag as a slice of ObjectPropertiesTagTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_tag_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set tag from a vec of items that can be converted into BaseBoxs

pub fn delete_tag(&mut self) -> &mut Self[src]

Set the tag field to None

pub fn get_updated(&self) -> Option<&XsdDateTime>[src]

Get updated as a XsdDateTime

This returns None if there is no value present

pub fn set_updated<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdDateTime>>::Error> where
    T: TryInto<XsdDateTime>, 
[src]

Set the updated with a type that can be converted into XsdDateTime

pub fn get_url_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get url as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_url_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set url from a value that can be converted into XsdAnyUri

pub fn get_many_url_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get url as a slice of ObjectPropertiesUrlTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_url_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set url from a vec of items that can be converted into XsdAnyUris

Get url as a LinkBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

Set url from a value that can be converted into LinkBox

Get url as a slice of ObjectPropertiesUrlTermEnums

This returns None if

  • There is no value present
  • There is only one value present

Set url from a vec of items that can be converted into LinkBoxs

pub fn delete_url(&mut self) -> &mut Self[src]

Set the url field to None

pub fn get_to_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get to as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_to_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set to from a value that can be converted into XsdAnyUri

pub fn get_many_to_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get to as a slice of ObjectPropertiesToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_to_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set to from a vec of items that can be converted into XsdAnyUris

pub fn get_to_base_box(&self) -> Option<&BaseBox>[src]

Get to as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_to_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set to from a value that can be converted into BaseBox

pub fn get_many_to_base_boxes(&self) -> Option<impl Iterator<Item = &BaseBox>>[src]

Get to as a slice of ObjectPropertiesToTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_to_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set to from a vec of items that can be converted into BaseBoxs

pub fn delete_to(&mut self) -> &mut Self[src]

Set the to field to None

pub fn get_bto_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get bto as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_bto_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set bto from a value that can be converted into XsdAnyUri

pub fn get_many_bto_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get bto as a slice of ObjectPropertiesBtoTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_bto_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set bto from a vec of items that can be converted into XsdAnyUris

pub fn get_bto_base_box(&self) -> Option<&BaseBox>[src]

Get bto as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_bto_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set bto from a value that can be converted into BaseBox

pub fn get_many_bto_base_boxes(&self) -> Option<impl Iterator<Item = &BaseBox>>[src]

Get bto as a slice of ObjectPropertiesBtoTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_bto_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set bto from a vec of items that can be converted into BaseBoxs

pub fn delete_bto(&mut self) -> &mut Self[src]

Set the bto field to None

pub fn get_cc_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get cc as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_cc_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set cc from a value that can be converted into XsdAnyUri

pub fn get_many_cc_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get cc as a slice of ObjectPropertiesCcTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_cc_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set cc from a vec of items that can be converted into XsdAnyUris

pub fn get_cc_base_box(&self) -> Option<&BaseBox>[src]

Get cc as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_cc_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set cc from a value that can be converted into BaseBox

pub fn get_many_cc_base_boxes(&self) -> Option<impl Iterator<Item = &BaseBox>>[src]

Get cc as a slice of ObjectPropertiesCcTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_cc_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set cc from a vec of items that can be converted into BaseBoxs

pub fn delete_cc(&mut self) -> &mut Self[src]

Set the cc field to None

pub fn get_bcc_xsd_any_uri(&self) -> Option<&XsdAnyUri>[src]

Get bcc as a XsdAnyUri

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_bcc_xsd_any_uri<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set bcc from a value that can be converted into XsdAnyUri

pub fn get_many_bcc_xsd_any_uris(
    &self
) -> Option<impl Iterator<Item = &XsdAnyUri>>
[src]

Get bcc as a slice of ObjectPropertiesBccTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_bcc_xsd_any_uris<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<XsdAnyUri>>::Error> where
    T: TryInto<XsdAnyUri>, 
[src]

Set bcc from a vec of items that can be converted into XsdAnyUris

pub fn get_bcc_base_box(&self) -> Option<&BaseBox>[src]

Get bcc as a BaseBox

This returns None if

  • There is no value present
  • There is more than one value present
  • The requested type is not stored type

pub fn set_bcc_base_box<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set bcc from a value that can be converted into BaseBox

pub fn get_many_bcc_base_boxes(&self) -> Option<impl Iterator<Item = &BaseBox>>[src]

Get bcc as a slice of ObjectPropertiesBccTermEnums

This returns None if

  • There is no value present
  • There is only one value present

pub fn set_many_bcc_base_boxes<T>(
    &mut self,
    item: Vec<T>
) -> Result<&mut Self, <T as TryInto<BaseBox>>::Error> where
    T: TryInto<BaseBox>, 
[src]

Set bcc from a vec of items that can be converted into BaseBoxs

pub fn delete_bcc(&mut self) -> &mut Self[src]

Set the bcc field to None

pub fn get_media_type(&self) -> Option<&MimeMediaType>[src]

Get media_type as a MimeMediaType

This returns None if there is no value present

pub fn set_media_type<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<MimeMediaType>>::Error> where
    T: TryInto<MimeMediaType>, 
[src]

Set the media_type with a type that can be converted into MimeMediaType

pub fn get_duration(&self) -> Option<&XsdDuration>[src]

Get duration as a XsdDuration

This returns None if there is no value present

pub fn set_duration<T>(
    &mut self,
    item: T
) -> Result<&mut Self, <T as TryInto<XsdDuration>>::Error> where
    T: TryInto<XsdDuration>, 
[src]

Set the duration with a type that can be converted into XsdDuration

Trait Implementations

impl AsMut<ObjectProperties> for Accept[src]

impl AsMut<ObjectProperties> for Add[src]

impl AsMut<ObjectProperties> for Follow[src]

impl AsMut<ObjectProperties> for Ignore[src]

impl AsMut<ObjectProperties> for Invite[src]

impl AsMut<ObjectProperties> for Join[src]

impl AsMut<ObjectProperties> for Leave[src]

impl AsMut<ObjectProperties> for Like[src]

impl AsMut<ObjectProperties> for Listen[src]

impl AsMut<ObjectProperties> for Offer[src]

impl AsMut<ObjectProperties> for Question[src]

impl AsMut<ObjectProperties> for Read[src]

impl AsMut<ObjectProperties> for AMove[src]

impl AsMut<ObjectProperties> for Reject[src]

impl AsMut<ObjectProperties> for Remove[src]

impl AsMut<ObjectProperties> for TentativeAccept[src]

impl AsMut<ObjectProperties> for TentativeReject[src]

impl AsMut<ObjectProperties> for Travel[src]

impl AsMut<ObjectProperties> for Undo[src]

impl AsMut<ObjectProperties> for Update[src]

impl AsMut<ObjectProperties> for View[src]

impl AsMut<ObjectProperties> for Application[src]

impl AsMut<ObjectProperties> for Group[src]

impl AsMut<ObjectProperties> for Announce[src]

impl AsMut<ObjectProperties> for Organization[src]

impl AsMut<ObjectProperties> for Person[src]

impl AsMut<ObjectProperties> for Service[src]

impl AsMut<ObjectProperties> for UnorderedCollection[src]

impl AsMut<ObjectProperties> for OrderedCollection[src]

impl AsMut<ObjectProperties> for UnorderedCollectionPage[src]

impl AsMut<ObjectProperties> for OrderedCollectionPage[src]

impl AsMut<ObjectProperties> for Article[src]

impl AsMut<ObjectProperties> for Audio[src]

impl AsMut<ObjectProperties> for Document[src]

impl AsMut<ObjectProperties> for Arrive[src]

impl AsMut<ObjectProperties> for Event[src]

impl AsMut<ObjectProperties> for Image[src]

impl AsMut<ObjectProperties> for Note[src]

impl AsMut<ObjectProperties> for Page[src]

impl AsMut<ObjectProperties> for Place[src]

impl AsMut<ObjectProperties> for Profile[src]

impl AsMut<ObjectProperties> for Relationship[src]

impl AsMut<ObjectProperties> for Tombstone[src]

impl AsMut<ObjectProperties> for Video[src]

impl AsMut<ObjectProperties> for Block[src]

impl AsMut<ObjectProperties> for Create[src]

impl AsMut<ObjectProperties> for Delete[src]

impl AsMut<ObjectProperties> for Dislike[src]

impl AsMut<ObjectProperties> for Flag[src]

impl AsRef<ObjectProperties> for Accept[src]

impl AsRef<ObjectProperties> for Add[src]

impl AsRef<ObjectProperties> for Follow[src]

impl AsRef<ObjectProperties> for Ignore[src]

impl AsRef<ObjectProperties> for Invite[src]

impl AsRef<ObjectProperties> for Join[src]

impl AsRef<ObjectProperties> for Leave[src]

impl AsRef<ObjectProperties> for Like[src]

impl AsRef<ObjectProperties> for Listen[src]

impl AsRef<ObjectProperties> for Offer[src]

impl AsRef<ObjectProperties> for Question[src]

impl AsRef<ObjectProperties> for Read[src]

impl AsRef<ObjectProperties> for AMove[src]

impl AsRef<ObjectProperties> for Reject[src]

impl AsRef<ObjectProperties> for Remove[src]

impl AsRef<ObjectProperties> for TentativeAccept[src]

impl AsRef<ObjectProperties> for TentativeReject[src]

impl AsRef<ObjectProperties> for Travel[src]

impl AsRef<ObjectProperties> for Undo[src]

impl AsRef<ObjectProperties> for Update[src]

impl AsRef<ObjectProperties> for View[src]

impl AsRef<ObjectProperties> for Application[src]

impl AsRef<ObjectProperties> for Group[src]

impl AsRef<ObjectProperties> for Announce[src]

impl AsRef<ObjectProperties> for Organization[src]

impl AsRef<ObjectProperties> for Person[src]

impl AsRef<ObjectProperties> for Service[src]

impl AsRef<ObjectProperties> for UnorderedCollection[src]

impl AsRef<ObjectProperties> for OrderedCollection[src]

impl AsRef<ObjectProperties> for UnorderedCollectionPage[src]

impl AsRef<ObjectProperties> for OrderedCollectionPage[src]

impl AsRef<ObjectProperties> for Article[src]

impl AsRef<ObjectProperties> for Audio[src]

impl AsRef<ObjectProperties> for Document[src]

impl AsRef<ObjectProperties> for Arrive[src]

impl AsRef<ObjectProperties> for Event[src]

impl AsRef<ObjectProperties> for Image[src]

impl AsRef<ObjectProperties> for Note[src]

impl AsRef<ObjectProperties> for Page[src]

impl AsRef<ObjectProperties> for Place[src]

impl AsRef<ObjectProperties> for Profile[src]

impl AsRef<ObjectProperties> for Relationship[src]

impl AsRef<ObjectProperties> for Tombstone[src]

impl AsRef<ObjectProperties> for Video[src]

impl AsRef<ObjectProperties> for Block[src]

impl AsRef<ObjectProperties> for Create[src]

impl AsRef<ObjectProperties> for Delete[src]

impl AsRef<ObjectProperties> for Dislike[src]

impl AsRef<ObjectProperties> for Flag[src]

impl Clone for ObjectProperties[src]

impl Debug for ObjectProperties[src]

impl Default for ObjectProperties[src]

impl<'de> Deserialize<'de> for ObjectProperties[src]

impl Serialize for ObjectProperties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.