pub struct GeneratedMetadata {
pub capability_id: String,
pub descriptor_version: String,
pub descriptor_digest: String,
pub portable: bool,
pub cross_lane_transfer: bool,
}Expand description
Metadata embedded in every generated language artifact.
Fields§
§capability_id: StringStable namespace.name@major identity.
descriptor_version: StringExact Descriptor SemVer.
descriptor_digest: StringCanonical SHA-256 digest of the resolved Descriptor and Schemas.
portable: boolWhether the source Descriptor is portable.
cross_lane_transfer: boolWhether generated native values may transfer across Execution Lanes.
Trait Implementations§
Source§impl Clone for GeneratedMetadata
impl Clone for GeneratedMetadata
Source§fn clone(&self) -> GeneratedMetadata
fn clone(&self) -> GeneratedMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GeneratedMetadata
impl Debug for GeneratedMetadata
impl Eq for GeneratedMetadata
Source§impl PartialEq for GeneratedMetadata
impl PartialEq for GeneratedMetadata
impl StructuralPartialEq for GeneratedMetadata
Auto Trait Implementations§
impl Freeze for GeneratedMetadata
impl RefUnwindSafe for GeneratedMetadata
impl Send for GeneratedMetadata
impl Sync for GeneratedMetadata
impl Unpin for GeneratedMetadata
impl UnsafeUnpin for GeneratedMetadata
impl UnwindSafe for GeneratedMetadata
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> 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.