pub struct CamerasView {Show 13 fields
pub title: String,
pub count_text: String,
pub count_short: String,
pub agent: Option<CameraAgent>,
pub selected: Option<String>,
pub selected_line: Option<String>,
pub tiles: Vec<CameraTile>,
pub note: String,
pub short_note: String,
pub footer: String,
pub decisions: Vec<DecisionCard>,
pub nothing_waiting: String,
pub budget: Vec<MeterView>,
}Expand description
GET /surface/cameras answer: every camera, a grid of them (board choice C8).
Fields§
§title: String“Cameras”.
count_text: String“4 sources · 3 on”.
count_short: StringThe phone’s: “4 · 3 on”.
agent: Option<CameraAgent>The agent that watches them.
selected: Option<String>The camera shown first, by its id.
selected_line: Option<String>The phone’s line under the large picture: “Line 2 camera · Live · 5 a second”.
tiles: Vec<CameraTile>Every camera.
note: String“Each source has its own frame budget. Stop all pauses every one of them.”
short_note: String“Each camera has its own frame budget. People are blurred before any frame is shown or kept.”
“Select a camera to watch it large. People are blurred before any frame is shown or kept.”
decisions: Vec<DecisionCard>The agents’ open decisions on these cameras’ sessions.
nothing_waiting: String“Nothing is waiting for you.”
budget: Vec<MeterView>Each camera’s frames today.
Trait Implementations§
Source§impl Clone for CamerasView
impl Clone for CamerasView
Source§impl Debug for CamerasView
impl Debug for CamerasView
Source§impl<'de> Deserialize<'de> for CamerasView
impl<'de> Deserialize<'de> for CamerasView
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 CamerasView
impl JsonSchema for CamerasView
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 CamerasView
impl PartialEq for CamerasView
Source§impl Serialize for CamerasView
impl Serialize for CamerasView
impl StructuralPartialEq for CamerasView
Auto Trait Implementations§
impl Forget for CamerasView
impl Freeze for CamerasViewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CameraTile>: Freeze,
PhantomData<DecisionCard>: Freeze,
PhantomData<MeterView>: Freeze,
impl Move for CamerasView
impl RefUnwindSafe for CamerasView
impl Send for CamerasView
impl Sync for CamerasView
impl Unpin for CamerasView
impl UnsafeUnpin for CamerasViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CameraTile>: UnsafeUnpin,
PhantomData<DecisionCard>: UnsafeUnpin,
PhantomData<MeterView>: UnsafeUnpin,
impl UnwindSafe for CamerasViewwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
BTreeMap<String, Value>: 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