pub struct IdlSegmentDescriptor {
pub name: &'static str,
pub role: &'static str,
pub append_only: bool,
pub rebuildable: bool,
pub must_preserve: bool,
}Expand description
Segment metadata for inclusion in the IDL.
Fields§
§name: &'static strSegment name.
role: &'static strRole name (Core, Extension, Journal, etc.).
append_only: boolWhether the segment is append-only.
rebuildable: boolWhether the segment is rebuildable from other data.
must_preserve: boolWhether the segment must survive migration.
Trait Implementations§
Source§impl Clone for IdlSegmentDescriptor
impl Clone for IdlSegmentDescriptor
Source§fn clone(&self) -> IdlSegmentDescriptor
fn clone(&self) -> IdlSegmentDescriptor
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 Display for IdlSegmentDescriptor
impl Display for IdlSegmentDescriptor
impl Copy for IdlSegmentDescriptor
Auto Trait Implementations§
impl Freeze for IdlSegmentDescriptor
impl RefUnwindSafe for IdlSegmentDescriptor
impl Send for IdlSegmentDescriptor
impl Sync for IdlSegmentDescriptor
impl Unpin for IdlSegmentDescriptor
impl UnsafeUnpin for IdlSegmentDescriptor
impl UnwindSafe for IdlSegmentDescriptor
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