Struct bsudlib::lvm::Seg

source ·
pub struct Seg {
Show 52 fields pub segtype: String, pub stripes: String, pub data_stripes: String, pub reshape_len: String, pub reshape_len_le: String, pub data_copies: String, pub data_offset: String, pub new_data_offset: String, pub parity_chunks: String, pub stripe_size: String, pub region_size: String, pub chunk_size: String, pub thin_count: String, pub discards: String, pub cache_metadata_format: String, pub cache_mode: String, pub zero: String, pub transaction_id: String, pub thin_id: String, pub seg_start: String, pub seg_start_pe: String, pub seg_size: String, pub seg_size_pe: String, pub seg_tags: String, pub seg_pe_ranges: String, pub seg_le_ranges: String, pub seg_metadata_le_ranges: String, pub devices: String, pub metadata_devices: String, pub seg_monitor: String, pub cache_policy: String, pub cache_settings: String, pub vdo_compression: String, pub vdo_deduplication: String, pub vdo_use_metadata_hints: String, pub vdo_minimum_io_size: String, pub vdo_block_map_cache_size: String, pub vdo_block_map_era_length: String, pub vdo_use_sparse_index: String, pub vdo_index_memory_size: String, pub vdo_slab_size: String, pub vdo_ack_threads: String, pub vdo_bio_threads: String, pub vdo_bio_rotation: String, pub vdo_cpu_threads: String, pub vdo_hash_zone_threads: String, pub vdo_logical_threads: String, pub vdo_physical_threads: String, pub vdo_max_discard: String, pub vdo_write_policy: String, pub vdo_header_size: String, pub lv_uuid: String,
}

Fields§

§segtype: String§stripes: String§data_stripes: String§reshape_len: String§reshape_len_le: String§data_copies: String§data_offset: String§new_data_offset: String§parity_chunks: String§stripe_size: String§region_size: String§chunk_size: String§thin_count: String§discards: String§cache_metadata_format: String§cache_mode: String§zero: String§transaction_id: String§thin_id: String§seg_start: String§seg_start_pe: String§seg_size: String§seg_size_pe: String§seg_tags: String§seg_pe_ranges: String§seg_le_ranges: String§seg_metadata_le_ranges: String§devices: String§metadata_devices: String§seg_monitor: String§cache_policy: String§cache_settings: String§vdo_compression: String§vdo_deduplication: String§vdo_use_metadata_hints: String§vdo_minimum_io_size: String§vdo_block_map_cache_size: String§vdo_block_map_era_length: String§vdo_use_sparse_index: String§vdo_index_memory_size: String§vdo_slab_size: String§vdo_ack_threads: String§vdo_bio_threads: String§vdo_bio_rotation: String§vdo_cpu_threads: String§vdo_hash_zone_threads: String§vdo_logical_threads: String§vdo_physical_threads: String§vdo_max_discard: String§vdo_write_policy: String§vdo_header_size: String§lv_uuid: String

Trait Implementations§

source§

impl Clone for Seg

source§

fn clone(&self) -> Seg

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Seg

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Seg

source§

fn default() -> Seg

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Seg
where Seg: Default,

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Seg

source§

fn eq(&self, other: &Seg) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Seg

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Seg

Auto Trait Implementations§

§

impl RefUnwindSafe for Seg

§

impl Send for Seg

§

impl Sync for Seg

§

impl Unpin for Seg

§

impl UnwindSafe for Seg

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Err = <U as TryFrom<T>>::Err

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Err>

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,