pub struct TargetFormat {
pub should_format: bool,
pub format_options: Option<String>,
}Expand description
Information about formatting the partition before installing.
Fields§
§should_format: bool§format_options: Option<String>Trait Implementations§
Source§impl Clone for TargetFormat
impl Clone for TargetFormat
Source§fn clone(&self) -> TargetFormat
fn clone(&self) -> TargetFormat
Returns a duplicate of the value. Read more
1.0.0 · 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 TargetFormat
impl Debug for TargetFormat
Source§impl Default for TargetFormat
impl Default for TargetFormat
Source§fn default() -> TargetFormat
fn default() -> TargetFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetFormat
impl<'de> Deserialize<'de> for TargetFormat
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
Source§impl PartialEq for TargetFormat
impl PartialEq for TargetFormat
impl Eq for TargetFormat
impl StructuralPartialEq for TargetFormat
Auto Trait Implementations§
impl Freeze for TargetFormat
impl RefUnwindSafe for TargetFormat
impl Send for TargetFormat
impl Sync for TargetFormat
impl Unpin for TargetFormat
impl UnwindSafe for TargetFormat
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