pub struct CardMedia {Show 18 fields
pub title: String,
pub images: Vec<EvidenceImage>,
pub goes_to: Option<GoesTo>,
pub what: Option<String>,
pub what_note: Option<String>,
pub covered: Vec<CoveredLine>,
pub covered_all: bool,
pub covered_all_text: Option<String>,
pub cost_text: Option<String>,
pub cost_detail: Option<String>,
pub cut_from: Option<String>,
pub cut_note: Option<String>,
pub kept_text: Option<String>,
pub source_href: Option<String>,
pub notice: Option<MediaNotice>,
pub can_change: bool,
pub replaces: Option<String>,
pub fixed_line: String,
}Expand description
A held call’s images on its card (spec 3.7 §8.2, X11): what would leave, after redaction, with what was covered, where it goes, what it costs, how long it is kept and why nothing can be sent when that is so.
Fields§
§title: String“The exact image that would leave”, “The 3 images that would leave”, “The image that
left” when a feature says where the images go (MediaFacts::to); otherwise
“Attached image”, “3 attached images”.
images: Vec<EvidenceImage>The images, in the order of the call’s evidence.
goes_to: Option<GoesTo>Where they go.
what: Option<String>What they are: “Document crop”, “3 document crops”.
what_note: Option<String>What qualifies what: “never the page”.
covered: Vec<CoveredLine>What was covered before they leave, by class.
covered_all: boolEvery pixel of every image is covered.
covered_all_text: Option<String>“100% of the image”, when so.
cost_text: Option<String>“Up to $0.0044” while waiting; “$0.0024” once it ran.
cost_detail: Option<String>What the cost counts: “851 image tokens”.
cut_from: Option<String>What they were cut from: “Page 2 of claim-0412.pdf”.
cut_note: Option<String>How: “nothing resized”.
kept_text: Option<String>“Kept as evidence until 18 Dec”.
source_href: Option<String>Where an authorised viewer opens the source image (board choice A9).
notice: Option<MediaNotice>Why nothing can be sent, when that is so.
can_change: boolThis surface may tighten the crop or add a redaction, which holds the call again with the new image (board choices A7, A8).
replaces: Option<String>The digest of the image a changed image replaced, when this call was held again with a changed image.
fixed_line: StringThe fixed line under the card (board choice A21).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CardMedia
impl<'de> Deserialize<'de> for CardMedia
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>,
Source§impl JsonSchema for CardMedia
impl JsonSchema for CardMedia
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for CardMedia
Auto Trait Implementations§
impl Forget for CardMedia
impl Freeze for CardMediawhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<EvidenceImage>: Freeze,
PhantomData<CoveredLine>: Freeze,
impl Move for CardMedia
impl RefUnwindSafe for CardMedia
impl Send for CardMediawhere
RawVecInner: Send,
impl Sync for CardMediawhere
RawVecInner: Sync,
impl Unpin for CardMedia
impl UnsafeUnpin for CardMediawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<EvidenceImage>: UnsafeUnpin,
PhantomData<CoveredLine>: UnsafeUnpin,
impl UnwindSafe for CardMediawhere
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
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> ⓘ
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> ⓘ
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