#[non_exhaustive]pub struct ComponentRelease {
pub uuid: ComponentReleaseId,
pub component: ComponentId,
pub component_name: Option<String>,
pub version: String,
pub created_date: TeaTimestamp,
pub release_date: Option<TeaTimestamp>,
pub pre_release: Option<bool>,
pub identifiers: Option<Vec<Identifier>>,
pub distributions: Option<Vec<ReleaseDistribution>>,
}Expand description
A TEA Component Release without its collection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uuid: ComponentReleaseIdComponent release UUID.
component: ComponentIdParent component UUID.
component_name: Option<String>Parent component name, when present.
version: StringManufacturer version string.
created_date: TeaTimestampCreation time.
release_date: Option<TeaTimestamp>Release time, when present.
pre_release: Option<bool>Whether the release is a pre-release.
identifiers: Option<Vec<Identifier>>Identifiers.
distributions: Option<Vec<ReleaseDistribution>>Distributions.
Trait Implementations§
Source§impl Clone for ComponentRelease
impl Clone for ComponentRelease
Source§impl Debug for ComponentRelease
impl Debug for ComponentRelease
Source§impl<'de> Deserialize<'de> for ComponentRelease
impl<'de> Deserialize<'de> for ComponentRelease
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 Eq for ComponentRelease
Source§impl PartialEq for ComponentRelease
impl PartialEq for ComponentRelease
Source§impl Serialize for ComponentRelease
impl Serialize for ComponentRelease
impl StructuralPartialEq for ComponentRelease
Auto Trait Implementations§
impl Forget for ComponentRelease
impl Freeze for ComponentRelease
impl RefUnwindSafe for ComponentRelease
impl Send for ComponentRelease
impl Sync for ComponentRelease
impl Unpin for ComponentRelease
impl UnsafeUnpin for ComponentRelease
impl UnwindSafe for ComponentRelease
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