pub struct ClipResult {
pub id: String,
pub camera_id: String,
pub filename: String,
pub url: String,
pub from: DateTime<Utc>,
pub to: DateTime<Utc>,
pub requested_seconds: f64,
pub covered_seconds: f64,
pub gaps: Vec<ClipGap>,
pub size_bytes: u64,
pub segment_count: usize,
}Fields§
§id: String§camera_id: String§filename: String§url: String§from: DateTime<Utc>§to: DateTime<Utc>§requested_seconds: f64§covered_seconds: f64Seconds of the requested window for which footage actually exists. Equals requested_seconds
for a fully-covered clip; less when the window spans recording gaps.
gaps: Vec<ClipGap>Recording gaps WITHIN the requested window. The concat output bridges these (the footage does not exist), so they are reported here rather than silently presented as continuous video.
size_bytes: u64§segment_count: usizeTrait Implementations§
Source§impl Debug for ClipResult
impl Debug for ClipResult
Auto Trait Implementations§
impl Freeze for ClipResult
impl RefUnwindSafe for ClipResult
impl Send for ClipResult
impl Sync for ClipResult
impl Unpin for ClipResult
impl UnsafeUnpin for ClipResult
impl UnwindSafe for ClipResult
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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