pub struct FrameCaptureRequest {
pub streamer_id: String,
pub capture_id: String,
pub command_id: String,
pub capture_context: StoredCaptureContext,
pub target: FrameCaptureTarget,
pub force: bool,
pub requested_at_ms: u64,
pub id: FrameCaptureRequestId,
}Expand description
One operator request for a synchronized nDisplay frame capture.
The browser NEVER talks to Pulse Cluster. This entity is the whole
client-facing surface: the UI writes typed editorial context plus a typed
target selection, and an off-browser bridge (holding the cluster
credential) submits it and mirrors authoritative status back as
[FrameCaptureStatus]. Keyed by streamer id — one in-flight capture per
stream, mirroring RecordingJobRequest.
Fields§
§streamer_id: String§capture_id: StringStable id for this capture across submit/status/receipt. Client-minted (UUIDv7) so retries of the same intent are idempotent at the bridge.
command_id: StringMakes a re-submitted command idempotent, like RecordingJobRequest.
capture_context: StoredCaptureContextFrozen editorial identity: typed collection ref, optional label, optional content revision. Required — capture output is filed by editorial context, and the collection must be explicit, never inferred.
target: FrameCaptureTargetTyped target selection. The UI picks from the summaries the bridge mirrors; it never constructs cluster addresses.
force: boolExplicit operator override. Cluster’s force submits despite missing or stalled frame-progress telemetry ONLY; exact target identity, generation, revision, and capture capability remain required. Never set automatically — the operator asks for it after a refusal.
requested_at_ms: u64§id: FrameCaptureRequestIdTrait Implementations§
Source§impl AnyItem for FrameCaptureRequest
impl AnyItem for FrameCaptureRequest
Source§fn entity_type(&self) -> &'static str
fn entity_type(&self) -> &'static str
Source§fn server_owner(&self) -> Option<&str>
fn server_owner(&self) -> Option<&str>
#[server_owned] field value, if this item has one.Source§impl Clone for FrameCaptureRequest
impl Clone for FrameCaptureRequest
Source§fn clone(&self) -> FrameCaptureRequest
fn clone(&self) -> FrameCaptureRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FrameCaptureRequest
impl Debug for FrameCaptureRequest
Source§impl<'de> Deserialize<'de> for FrameCaptureRequest
impl<'de> Deserialize<'de> for FrameCaptureRequest
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 Eventable for FrameCaptureRequest
impl Eventable for FrameCaptureRequest
Source§const ENTITY_NAME_STATIC: &'static str = "FrameCaptureRequest"
const ENTITY_NAME_STATIC: &'static str = "FrameCaptureRequest"
entity_type() from AnyItem for instance access).Source§fn entity_name_static() -> &'static str
fn entity_name_static() -> &'static str
Source§fn ingest_buffer_policy() -> IngestBufferPolicy
fn ingest_buffer_policy() -> IngestBufferPolicy
Source§impl PartialEq for FrameCaptureRequest
impl PartialEq for FrameCaptureRequest
Source§impl Serialize for FrameCaptureRequest
impl Serialize for FrameCaptureRequest
Source§impl TS for FrameCaptureRequest
impl TS for FrameCaptureRequest
Source§type WithoutGenerics = FrameCaptureRequest
type WithoutGenerics = FrameCaptureRequest
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = FrameCaptureRequest
type OptionInnerType = FrameCaptureRequest
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
Source§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all. Read moreSource§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export. Read moreSource§fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
Source§impl WithTypedId for FrameCaptureRequest
impl WithTypedId for FrameCaptureRequest
Auto Trait Implementations§
impl Freeze for FrameCaptureRequest
impl RefUnwindSafe for FrameCaptureRequest
impl Send for FrameCaptureRequest
impl Sync for FrameCaptureRequest
impl Unpin for FrameCaptureRequest
impl UnsafeUnpin for FrameCaptureRequest
impl UnwindSafe for FrameCaptureRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CellValue for T
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> 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