pub struct MemberDescription {
pub kind: String,
pub component: String,
pub encrypted: bool,
}Expand description
What one entry inside a bundle is. Owned strings because the two classifiers
disagree on lifetime — Skidbladnir’s components are a fixed set (&'static str), a Rust-toolchain bundle’s are derived from the path (a crate name, a
target triple), so only an owned form covers both.
Fields§
§kind: StringThe stable member_kind string — s3-blob, vendor-crate, …
component: StringThe logical component, or - when the member is bundle-level.
encrypted: boolWhether the member is encrypted at rest inside the bundle.
Implementations§
Trait Implementations§
Source§impl Clone for MemberDescription
impl Clone for MemberDescription
Source§fn clone(&self) -> MemberDescription
fn clone(&self) -> MemberDescription
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 MemberDescription
impl Debug for MemberDescription
impl Eq for MemberDescription
Source§impl PartialEq for MemberDescription
impl PartialEq for MemberDescription
impl StructuralPartialEq for MemberDescription
Auto Trait Implementations§
impl Freeze for MemberDescription
impl RefUnwindSafe for MemberDescription
impl Send for MemberDescription
impl Sync for MemberDescription
impl Unpin for MemberDescription
impl UnsafeUnpin for MemberDescription
impl UnwindSafe for MemberDescription
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