pub struct FileSegmentConflict { /* private fields */ }Expand description
Attempting to create multiple segments with the same minimum and maximum timestamps.
Implementations§
Source§impl FileSegmentConflict
impl FileSegmentConflict
Sourcepub fn builder() -> Builder<VideoRidStage>
pub fn builder() -> Builder<VideoRidStage>
Returns a new builder.
Source§impl FileSegmentConflict
impl FileSegmentConflict
Sourcepub fn new(
video_rid: VideoFileRid,
min_timestamp: Timestamp,
max_timestamp: Timestamp,
) -> Self
pub fn new( video_rid: VideoFileRid, min_timestamp: Timestamp, max_timestamp: Timestamp, ) -> Self
Constructs a new instance of the type.
pub fn video_rid(&self) -> &VideoFileRid
pub fn min_timestamp(&self) -> &Timestamp
pub fn max_timestamp(&self) -> &Timestamp
Trait Implementations§
Source§impl Clone for FileSegmentConflict
impl Clone for FileSegmentConflict
Source§fn clone(&self) -> FileSegmentConflict
fn clone(&self) -> FileSegmentConflict
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileSegmentConflict
impl Debug for FileSegmentConflict
Source§impl<'de> Deserialize<'de> for FileSegmentConflict
impl<'de> Deserialize<'de> for FileSegmentConflict
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 ErrorType for FileSegmentConflict
impl ErrorType for FileSegmentConflict
Source§fn instance_id(&self) -> Option<Uuid>
fn instance_id(&self) -> Option<Uuid>
Returns the error’s instance ID, if it stores one. Read more
Source§fn safe_args(&self) -> &'static [&'static str]
fn safe_args(&self) -> &'static [&'static str]
Returns a sorted slice of the names of the error’s safe parameters.
Source§fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
Wraps the error in another that overrides its instance ID.
Source§impl From<FileSegmentConflict> for Builder<Complete>
impl From<FileSegmentConflict> for Builder<Complete>
Source§fn from(v: FileSegmentConflict) -> Self
fn from(v: FileSegmentConflict) -> Self
Converts to this type from the input type.
Source§impl Hash for FileSegmentConflict
impl Hash for FileSegmentConflict
Source§impl Ord for FileSegmentConflict
impl Ord for FileSegmentConflict
Source§fn cmp(&self, other: &FileSegmentConflict) -> Ordering
fn cmp(&self, other: &FileSegmentConflict) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileSegmentConflict
impl PartialEq for FileSegmentConflict
Source§impl PartialOrd for FileSegmentConflict
impl PartialOrd for FileSegmentConflict
Source§impl Serialize for FileSegmentConflict
impl Serialize for FileSegmentConflict
impl Eq for FileSegmentConflict
impl StructuralPartialEq for FileSegmentConflict
Auto Trait Implementations§
impl Freeze for FileSegmentConflict
impl RefUnwindSafe for FileSegmentConflict
impl Send for FileSegmentConflict
impl Sync for FileSegmentConflict
impl Unpin for FileSegmentConflict
impl UnwindSafe for FileSegmentConflict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.