Trait schema_org_types::MessageTrait
source · pub trait MessageTrait {
Show 18 methods
// Required methods
fn get_bcc_recipient(&self) -> &[BccRecipientProperty];
fn take_bcc_recipient(&mut self) -> Vec<BccRecipientProperty>;
fn get_cc_recipient(&self) -> &[CcRecipientProperty];
fn take_cc_recipient(&mut self) -> Vec<CcRecipientProperty>;
fn get_date_read(&self) -> &[DateReadProperty];
fn take_date_read(&mut self) -> Vec<DateReadProperty>;
fn get_date_received(&self) -> &[DateReceivedProperty];
fn take_date_received(&mut self) -> Vec<DateReceivedProperty>;
fn get_date_sent(&self) -> &[DateSentProperty];
fn take_date_sent(&mut self) -> Vec<DateSentProperty>;
fn get_message_attachment(&self) -> &[MessageAttachmentProperty];
fn take_message_attachment(&mut self) -> Vec<MessageAttachmentProperty>;
fn get_recipient(&self) -> &[RecipientProperty];
fn take_recipient(&mut self) -> Vec<RecipientProperty>;
fn get_sender(&self) -> &[SenderProperty];
fn take_sender(&mut self) -> Vec<SenderProperty>;
fn get_to_recipient(&self) -> &[ToRecipientProperty];
fn take_to_recipient(&mut self) -> Vec<ToRecipientProperty>;
}
Expand description
This trait is for properties from https://schema.org/Message.
Required Methods§
sourcefn get_bcc_recipient(&self) -> &[BccRecipientProperty]
fn get_bcc_recipient(&self) -> &[BccRecipientProperty]
Get https://schema.org/bccRecipient from Self
as borrowed slice.
sourcefn take_bcc_recipient(&mut self) -> Vec<BccRecipientProperty>
fn take_bcc_recipient(&mut self) -> Vec<BccRecipientProperty>
Take https://schema.org/bccRecipient from Self
as owned vector.
sourcefn get_cc_recipient(&self) -> &[CcRecipientProperty]
fn get_cc_recipient(&self) -> &[CcRecipientProperty]
Get https://schema.org/ccRecipient from Self
as borrowed slice.
sourcefn take_cc_recipient(&mut self) -> Vec<CcRecipientProperty>
fn take_cc_recipient(&mut self) -> Vec<CcRecipientProperty>
Take https://schema.org/ccRecipient from Self
as owned vector.
sourcefn get_date_read(&self) -> &[DateReadProperty]
fn get_date_read(&self) -> &[DateReadProperty]
Get https://schema.org/dateRead from Self
as borrowed slice.
sourcefn take_date_read(&mut self) -> Vec<DateReadProperty>
fn take_date_read(&mut self) -> Vec<DateReadProperty>
Take https://schema.org/dateRead from Self
as owned vector.
sourcefn get_date_received(&self) -> &[DateReceivedProperty]
fn get_date_received(&self) -> &[DateReceivedProperty]
Get https://schema.org/dateReceived from Self
as borrowed slice.
sourcefn take_date_received(&mut self) -> Vec<DateReceivedProperty>
fn take_date_received(&mut self) -> Vec<DateReceivedProperty>
Take https://schema.org/dateReceived from Self
as owned vector.
sourcefn get_date_sent(&self) -> &[DateSentProperty]
fn get_date_sent(&self) -> &[DateSentProperty]
Get https://schema.org/dateSent from Self
as borrowed slice.
sourcefn take_date_sent(&mut self) -> Vec<DateSentProperty>
fn take_date_sent(&mut self) -> Vec<DateSentProperty>
Take https://schema.org/dateSent from Self
as owned vector.
sourcefn get_message_attachment(&self) -> &[MessageAttachmentProperty]
fn get_message_attachment(&self) -> &[MessageAttachmentProperty]
Get https://schema.org/messageAttachment from Self
as borrowed slice.
sourcefn take_message_attachment(&mut self) -> Vec<MessageAttachmentProperty>
fn take_message_attachment(&mut self) -> Vec<MessageAttachmentProperty>
Take https://schema.org/messageAttachment from Self
as owned vector.
sourcefn get_recipient(&self) -> &[RecipientProperty]
fn get_recipient(&self) -> &[RecipientProperty]
Get https://schema.org/recipient from Self
as borrowed slice.
sourcefn take_recipient(&mut self) -> Vec<RecipientProperty>
fn take_recipient(&mut self) -> Vec<RecipientProperty>
Take https://schema.org/recipient from Self
as owned vector.
sourcefn get_sender(&self) -> &[SenderProperty]
fn get_sender(&self) -> &[SenderProperty]
Get https://schema.org/sender from Self
as borrowed slice.
sourcefn take_sender(&mut self) -> Vec<SenderProperty>
fn take_sender(&mut self) -> Vec<SenderProperty>
Take https://schema.org/sender from Self
as owned vector.
sourcefn get_to_recipient(&self) -> &[ToRecipientProperty]
fn get_to_recipient(&self) -> &[ToRecipientProperty]
Get https://schema.org/toRecipient from Self
as borrowed slice.
sourcefn take_to_recipient(&mut self) -> Vec<ToRecipientProperty>
fn take_to_recipient(&mut self) -> Vec<ToRecipientProperty>
Take https://schema.org/toRecipient from Self
as owned vector.