Struct sentry_core::protocol::Attachment
source · [−]pub struct Attachment {
pub buffer: Vec<u8, Global>,
pub filename: String,
pub ty: Option<AttachmentType>,
}
Expand description
Represents an attachment item.
Fields
buffer: Vec<u8, Global>
The actual attachment data.
filename: String
The filename of the attachment.
ty: Option<AttachmentType>
The special type of this attachment.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
Blanket Implementations
Mutably borrows from an owned value. Read more