pub struct GoogleCloudDatalabelingV1beta1SequentialSegment {
pub end: Option<i32>,
pub start: Option<i32>,
}
Expand description
Start and end position in a sequence (e.g. text segment).
This type is not used in any activity, and only used as part of another schema.
Fields§
§end: Option<i32>
End position (exclusive).
start: Option<i32>
Start position (inclusive).
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1SequentialSegment
impl Clone for GoogleCloudDatalabelingV1beta1SequentialSegment
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1SequentialSegment
fn clone(&self) -> GoogleCloudDatalabelingV1beta1SequentialSegment
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 GoogleCloudDatalabelingV1beta1SequentialSegment
impl Default for GoogleCloudDatalabelingV1beta1SequentialSegment
source§fn default() -> GoogleCloudDatalabelingV1beta1SequentialSegment
fn default() -> GoogleCloudDatalabelingV1beta1SequentialSegment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1SequentialSegment
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1SequentialSegment
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 GoogleCloudDatalabelingV1beta1SequentialSegment
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1SequentialSegment
impl Send for GoogleCloudDatalabelingV1beta1SequentialSegment
impl Sync for GoogleCloudDatalabelingV1beta1SequentialSegment
impl Unpin for GoogleCloudDatalabelingV1beta1SequentialSegment
impl UnwindSafe for GoogleCloudDatalabelingV1beta1SequentialSegment
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