pub struct MaterializedAttachment {
pub mime: String,
pub bytes: Vec<u8>,
}Expand description
Bytes ready for judge-client payload construction.
Fields§
§mime: String§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for MaterializedAttachment
impl Clone for MaterializedAttachment
Source§fn clone(&self) -> MaterializedAttachment
fn clone(&self) -> MaterializedAttachment
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 MaterializedAttachment
impl Debug for MaterializedAttachment
Source§impl PartialEq for MaterializedAttachment
impl PartialEq for MaterializedAttachment
impl Eq for MaterializedAttachment
impl StructuralPartialEq for MaterializedAttachment
Auto Trait Implementations§
impl Freeze for MaterializedAttachment
impl RefUnwindSafe for MaterializedAttachment
impl Send for MaterializedAttachment
impl Sync for MaterializedAttachment
impl Unpin for MaterializedAttachment
impl UnsafeUnpin for MaterializedAttachment
impl UnwindSafe for MaterializedAttachment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.