pub struct ContextAnswer {
pub context: PrintContext,
pub image_path: Option<String>,
}Expand description
What a context read answers.
The latest image is materialized here rather than left as the handle
PrintContext carries: the one thing a supervision turn does with an
image is look at it, and a handle is not something anything can open. The
path is absolute on this server’s own filesystem, exactly as
ImageAnswer’s is, and is absent when there is no image or when the
record is intact and the file is not.
Fields§
§context: PrintContextEverything a supervision turn is given about the print.
image_path: Option<String>Where the latest image’s bytes are, absolute on this host.
Trait Implementations§
Source§impl Clone for ContextAnswer
impl Clone for ContextAnswer
Source§impl Debug for ContextAnswer
impl Debug for ContextAnswer
Source§impl<'de> Deserialize<'de> for ContextAnswer
impl<'de> Deserialize<'de> for ContextAnswer
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 ContextAnswer
impl PartialEq for ContextAnswer
Source§impl Serialize for ContextAnswer
impl Serialize for ContextAnswer
impl StructuralPartialEq for ContextAnswer
Auto Trait Implementations§
impl Freeze for ContextAnswer
impl RefUnwindSafe for ContextAnswer
impl Send for ContextAnswer
impl Sync for ContextAnswer
impl Unpin for ContextAnswer
impl UnsafeUnpin for ContextAnswer
impl UnwindSafe for ContextAnswer
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