Struct sentry_core::protocol::Attachment [−][src]
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: StringThe 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 Attachmentimpl Send for Attachmentimpl Sync for Attachmentimpl Unpin for Attachmentimpl UnwindSafe for AttachmentBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V