#[non_exhaustive]pub struct AnswerFile {
pub name: String,
pub media_type: String,
pub data: Vec<u8>,
}Expand description
One file a task’s answer carries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name it goes by: the workspace file’s own.
media_type: String§data: Vec<u8>Trait Implementations§
Source§impl Clone for AnswerFile
impl Clone for AnswerFile
Source§impl Debug for AnswerFile
impl Debug for AnswerFile
impl Eq for AnswerFile
Source§impl PartialEq for AnswerFile
impl PartialEq for AnswerFile
impl StructuralPartialEq for AnswerFile
Auto Trait Implementations§
impl Freeze for AnswerFile
impl RefUnwindSafe for AnswerFile
impl Send for AnswerFile
impl Sync for AnswerFile
impl Unpin for AnswerFile
impl UnsafeUnpin for AnswerFile
impl UnwindSafe for AnswerFile
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