pub struct MessageFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub bug_attachments_collection_link: Url,
pub content: String,
pub date_created: DateTime<Utc>,
pub date_deleted: DateTime<Utc>,
pub date_last_edited: DateTime<Utc>,
pub owner_link: Url,
pub parent_link: Url,
pub subject: String,
}Expand description
Representation of the message-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
bug_attachments_collection_link: UrlA list of BugAttachments connected to this message.
content: StringAll the text/plain chunks joined together as a unicode string.
date_created: DateTime<Utc>Date Created
date_deleted: DateTime<Utc>When this message was deleted
date_last_edited: DateTime<Utc>When this message was last edited
owner_link: UrlPerson
parent_link: UrlParent
subject: StringSubject
Implementations§
Source§impl MessageFull
impl MessageFull
pub fn set_self_(&mut self, value: Option<Message>)
Sourcepub fn bug_attachments<'a>(
&'a self,
client: &'a dyn Client,
) -> Result<PagedCollection<'a, BugAttachmentPage>, Error>
pub fn bug_attachments<'a>( &'a self, client: &'a dyn Client, ) -> Result<PagedCollection<'a, BugAttachmentPage>, Error>
A list of BugAttachments connected to this message.
pub fn set_owner(&mut self, value: Person)
pub fn set_parent(&mut self, value: Message)
Trait Implementations§
Source§impl Clone for MessageFull
impl Clone for MessageFull
Source§fn clone(&self) -> MessageFull
fn clone(&self) -> MessageFull
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageFull
impl Debug for MessageFull
Source§impl<'de> Deserialize<'de> for MessageFull
impl<'de> Deserialize<'de> for MessageFull
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageFull
impl PartialEq for MessageFull
Source§impl Serialize for MessageFull
impl Serialize for MessageFull
impl StructuralPartialEq for MessageFull
Auto Trait Implementations§
impl Freeze for MessageFull
impl RefUnwindSafe for MessageFull
impl Send for MessageFull
impl Sync for MessageFull
impl Unpin for MessageFull
impl UnwindSafe for MessageFull
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more