pub struct GoogleCloudDatalabelingV1beta1TimeSegment {
pub end_time_offset: Option<Duration>,
pub start_time_offset: Option<Duration>,
}
Expand description
A time period inside of an example that has a time dimension (e.g. video).
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time_offset: Option<Duration>
End of the time segment (exclusive), represented as the duration since the example start.
start_time_offset: Option<Duration>
Start of the time segment (inclusive), represented as the duration since the example start.
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1TimeSegment
impl Clone for GoogleCloudDatalabelingV1beta1TimeSegment
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1TimeSegment
fn clone(&self) -> GoogleCloudDatalabelingV1beta1TimeSegment
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 Default for GoogleCloudDatalabelingV1beta1TimeSegment
impl Default for GoogleCloudDatalabelingV1beta1TimeSegment
source§fn default() -> GoogleCloudDatalabelingV1beta1TimeSegment
fn default() -> GoogleCloudDatalabelingV1beta1TimeSegment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1TimeSegment
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1TimeSegment
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
impl Part for GoogleCloudDatalabelingV1beta1TimeSegment
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1TimeSegment
impl Send for GoogleCloudDatalabelingV1beta1TimeSegment
impl Sync for GoogleCloudDatalabelingV1beta1TimeSegment
impl Unpin for GoogleCloudDatalabelingV1beta1TimeSegment
impl UnwindSafe for GoogleCloudDatalabelingV1beta1TimeSegment
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