pub struct VersionTag { /* private fields */ }Expand description
A named version tag that captures a complete dataset state snapshot at a specific serial number. Tags are immutable once created and enable reproducible training and validation by referencing an exact dataset state.
Implementations§
Source§impl VersionTag
impl VersionTag
Sourcepub fn dataset_id(&self) -> DatasetID
pub fn dataset_id(&self) -> DatasetID
Returns the dataset ID this tag belongs to.
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the tag description.
Sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
Returns the username that created this tag.
Sourcepub fn created_at(&self) -> DateTime<Utc>
pub fn created_at(&self) -> DateTime<Utc>
Returns when this tag was created.
Sourcepub fn image_count(&self) -> u64
pub fn image_count(&self) -> u64
Returns the number of images at tag time.
Sourcepub fn annotation_counts(&self) -> &HashMap<String, u64>
pub fn annotation_counts(&self) -> &HashMap<String, u64>
Returns annotation counts by type (e.g., {"box": 150000, "seg": 20000}).
Sourcepub fn sensor_counts(&self) -> &HashMap<String, u64>
pub fn sensor_counts(&self) -> &HashMap<String, u64>
Returns sensor data counts by type (e.g., {"lidar": 25000}).
Sourcepub fn label_count(&self) -> u64
pub fn label_count(&self) -> u64
Returns the number of labels at tag time.
Sourcepub fn annotation_set_count(&self) -> u64
pub fn annotation_set_count(&self) -> u64
Returns the number of annotation sets at tag time.
Sourcepub fn snapshot_id(&self) -> Option<u64>
pub fn snapshot_id(&self) -> Option<u64>
Returns the optional snapshot export ID.
Sourcepub fn is_current(&self) -> bool
pub fn is_current(&self) -> bool
Returns whether this tag is the dataset’s current tag (i.e. matches
Dataset::tag_id).
Trait Implementations§
Source§impl Clone for VersionTag
impl Clone for VersionTag
Source§fn clone(&self) -> VersionTag
fn clone(&self) -> VersionTag
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 VersionTag
impl Debug for VersionTag
Source§impl<'de> Deserialize<'de> for VersionTag
impl<'de> Deserialize<'de> for VersionTag
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 Display for VersionTag
impl Display for VersionTag
Auto Trait Implementations§
impl Freeze for VersionTag
impl RefUnwindSafe for VersionTag
impl Send for VersionTag
impl Sync for VersionTag
impl Unpin for VersionTag
impl UnsafeUnpin for VersionTag
impl UnwindSafe for VersionTag
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
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 moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read more