[][src]Struct reso_dd::Media

pub struct Media {
    pub changed_by_member_id: Option<String>,
    pub changed_by_member_key: Option<String>,
    pub changed_by_member_key_numeric: Option<f64>,
    pub class_name: Option<String>,
    pub image_height: Option<f64>,
    pub image_of: Option<String>,
    pub image_size_description: Option<String>,
    pub image_width: Option<f64>,
    pub long_description: Option<String>,
    pub media_category: Option<String>,
    pub media_html: Option<String>,
    pub media_key: Option<String>,
    pub media_key_numeric: Option<f64>,
    pub media_modification_timestamp: Option<DateTime<FixedOffset>>,
    pub media_object_id: Option<String>,
    pub media_status: Option<String>,
    pub media_type: Option<String>,
    pub media_url: Option<String>,
    pub modification_timestamp: Option<DateTime<FixedOffset>>,
    pub order: Option<f64>,
    pub originating_system_id: Option<String>,
    pub originating_system_media_key: Option<String>,
    pub originating_system_name: Option<String>,
    pub permission: Option<String>,
    pub preferred_photo_yn: Option<bool>,
    pub resource_name: Option<String>,
    pub resource_record_id: Option<String>,
    pub resource_record_key: Option<String>,
    pub resource_record_key_numeric: Option<f64>,
    pub short_description: Option<String>,
    pub source_system_id: Option<String>,
    pub source_system_media_key: Option<String>,
    pub source_system_name: Option<String>,
}

Fields

changed_by_member_id: Option<String>

ID of the user, agent, member, etc., that uploaded the media this record refers to.

ChangedByMemberID

changed_by_member_key: Option<String>

The primary key of the member who uploaded the media this record refers to. This is a foreign key relating to the Member resource's MemberKey.

ChangedByMemberKey

changed_by_member_key_numeric: Option<f64>

The primary key of the member who uploaded the media this record refers to. This is a foreign key relating to the Member resource's MemberKey. This is the numeric only key and used as an alternative to the ChangedByMemberKey field.

ChangedByMemberKeyNumeric

class_name: Option<String>

The class or table of the listing or other record the media. Residential, Lease, Agent, Office, Contact, etc.

ClassName

image_height: Option<f64>

The height of the image expressed in pixels.

ImageHeight

image_of: Option<String>

When the media is an image, a list of possible matches such as kitchen, bathroom, front of structure, etc. This field may be used to identify a required image under association or MLS rules.

ImageOf

image_size_description: Option<String>

A text description of the size of the image. i.e. Small, Thumbnail, Medium, Large, X-Large. The largest image must be described as "Largest". Thumbnail must also be included. Pick List will remain open/extendable.

ImageSizeDescription

image_width: Option<f64>

The width of the image expressed in pixels.

ImageWidth

long_description: Option<String>

The full robust description of the object.

LongDescription

media_category: Option<String>

Category describing the , Photos, Documents, Video, Unbranded Virtual Tour, Branded Virtual Tour, Floor Plan, Logo

MediaCategory

media_html: Option<String>

The JavaScript or other method to embed a video, image, virtual tour or other media.

MediaHTML

media_key: Option<String>

A unique identifier for this record from the immediate source. This may be a number, or string that can include URI or other forms. This is the system you are connecting to and not necessarily the original source of the record.

MediaKey

media_key_numeric: Option<f64>

A unique identifier for this record from the immediate source. This may be a number, or string that can include URI or other forms. This is the system you are connecting to and not necessarily the original source of the record. This is the numeric only key and used as an alternative to the MediaKey field.

MediaKeyNumeric

media_modification_timestamp: Option<DateTime<FixedOffset>>

This timestamp is updated when a change to the object has been made, which may differ from a change to the Media Resource.

MediaModificationTimestamp

media_object_id: Option<String>

ID of the image, supplement or other object specified by the given media record.

MediaObjectID

media_status: Option<String>

The status of the media item referenced by this record. (Updated, Deleted, etc.,_

MediaStatus

media_type: Option<String>

Media Types as defined by IANA. http://www.iana.org/assignments/media-types/index.html. Note that the former name of MimeType, used by both IANA and RESO may still be in use by some systems/entities.

MediaType

media_url: Option<String>

The URI to the media file referenced by this record.

MediaURL

modification_timestamp: Option<DateTime<FixedOffset>>

The transactional timestamp automatically recorded by the MLS system representing the date/time the media record was last modified.

ModificationTimestamp

order: Option<f64>

Only a positive integer including zero. Element zero is the primary photo per RETS convention.

Order

originating_system_id: Option<String>

The RESO OUID's OrganizationUniqueId of the Originating record provider. The Originating system is the system with authoritative control over the record. For example; the name of the MLS where the Media was input. In cases where the Originating system was not where the record originated (the authoritative system), see the Originating System fields.

OriginatingSystemID

originating_system_media_key: Option<String>

The system key, a unique record identifier, from the Originating system. The Originating system is the system with authoritative control over the record. For example, the Multiple Listing Service where the Media was input. There may be cases where the Source System (how you received the record) is not the Originating System. See Source System Key for more information.

OriginatingSystemMediaKey

originating_system_name: Option<String>

The name of the Originating record provider. Most commonly the name of the MLS. The place where the Media is originally input by the member. The legal name of the company.

OriginatingSystemName

permission: Option<String>

Public, Private, IDX, VOW, Office Only, Firm Only, Agent Only,

Permission

preferred_photo_yn: Option<bool>

When set to true, the media record in question is the preferred photo. This will typically mean the photo to be shown when only one of the photos is to be displayed.

PreferredPhotoYN

resource_name: Option<String>

The resource or table of the listing or other record the media relates to. i.e. Property, Member, Office, etc.

ResourceName

resource_record_id: Option<String>

The well known identifier of the related record from the source resource. The value may be identical to that of the Listing Key, but the Listing ID is intended to be the value used by a human to retrieve the information about a specific listing. In a multiple originating system or a merged system, this value may not be unique and may require the use of the provider system to create a synthetic unique value.

ResourceRecordID

resource_record_key: Option<String>

The primary key of the related record from the source resource. For example the ListingKey, AgentKey, OfficeKey, TeamKey, etc. This is the system you are connecting to and not necessarily the original source of the record. This is a foreign key from the resource selected in the ResourceName field.

ResourceRecordKey

resource_record_key_numeric: Option<f64>

The primary key of the related record from the source resource. For example the ListingKey, AgentKey, OfficeKey, TeamKey, etc. This is the system you are connecting to and not necessarily the original source of the record. This is a foreign key from the resource selected in the ResourceName field. This is the numeric only key and used as an alternative to the ResourceRecordKey field.

ResourceRecordKeyNumeric

short_description: Option<String>

The short text given to summarize the object. Commonly used as the short description displayed under a photo.

ShortDescription

source_system_id: Option<String>

The RESO OUID's OrganizationUniqueId of the Source record provider. The source system is the system from which the record was directly received. In cases where the source system was not where the record originated (the authoritative system), see the Originating System fields.

SourceSystemID

source_system_media_key: Option<String>

The system key, a unique record identifier, from the Source System. The Source System is the system from which the record was directly received. In cases where the Source System was not where the record originated (the authoritative system), see the Originating System fields.

SourceSystemMediaKey

source_system_name: Option<String>

The name of the immediate record provider. The system from which the record was directly received. The legal name of the company.

SourceSystemName

Trait Implementations

impl Clone for Media[src]

impl Debug for Media[src]

impl Default for Media[src]

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

impl Serialize for Media[src]

Auto Trait Implementations

impl RefUnwindSafe for Media

impl Send for Media

impl Sync for Media

impl Unpin for Media

impl UnwindSafe for Media

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: 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.