pub struct EvidenceImage {Show 15 fields
pub index: u32,
pub digest: String,
pub digest_short: String,
pub mime_type: String,
pub width: u32,
pub height: u32,
pub size_text: String,
pub href: Option<String>,
pub regions: Vec<EvidenceRegion>,
pub covered_all: bool,
pub covered_text: String,
pub caption: Option<String>,
pub field: Option<String>,
pub why: Option<String>,
pub purged: Option<PurgedView>,
}Expand description
One image a held call would send, as its card shows it.
Fields§
§index: u32Its place in the call’s evidence: what the image route takes.
digest: Stringsha256:<hex> of the image’s bytes, in full: the exact call and the terminal show it.
digest_short: StringThe digest in short, sha256:c52ca5…ce7550 (board choice S4).
mime_type: Stringimage/png.
width: u32Width in pixels.
height: u32Height in pixels.
size_text: String“1012 × 638 PNG”.
href: Option<String>Where the surface loads the image with the viewer’s own authorisation; absent when it is deleted.
regions: Vec<EvidenceRegion>The regions over it, covered before it leaves.
covered_all: boolEvery pixel of it is covered.
covered_text: StringWhat was covered of it, in one line: “1 field your schema marks personal”, “nothing covered”.
caption: Option<String>The feature’s one-line description of it.
field: Option<String>The field it shows: “PO number”.
why: Option<String>Why it is sent rather than read here: “Handwriting”.
purged: Option<PurgedView>It is no longer kept.
Trait Implementations§
Source§impl Clone for EvidenceImage
impl Clone for EvidenceImage
Source§impl Debug for EvidenceImage
impl Debug for EvidenceImage
Source§impl<'de> Deserialize<'de> for EvidenceImage
impl<'de> Deserialize<'de> for EvidenceImage
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 JsonSchema for EvidenceImage
impl JsonSchema for EvidenceImage
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EvidenceImage
impl PartialEq for EvidenceImage
Source§impl Serialize for EvidenceImage
impl Serialize for EvidenceImage
impl StructuralPartialEq for EvidenceImage
Auto Trait Implementations§
impl Forget for EvidenceImage
impl Freeze for EvidenceImage
impl Move for EvidenceImage
impl RefUnwindSafe for EvidenceImage
impl Send for EvidenceImagewhere
RawVecInner: Send,
impl Sync for EvidenceImagewhere
RawVecInner: Sync,
impl Unpin for EvidenceImage
impl UnsafeUnpin for EvidenceImagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EvidenceRegion>: UnsafeUnpin,
impl UnwindSafe for EvidenceImagewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more