pub struct MountOption {
pub id: String,
pub name: String,
pub is_active: bool,
pub is_available: bool,
pub error_message: Option<String>,
pub switch_url: String,
}Fields§
§id: String§name: String§is_active: bool§is_available: bool§error_message: Option<String>§switch_url: StringTrait Implementations§
Source§impl Clone for MountOption
impl Clone for MountOption
Source§fn clone(&self) -> MountOption
fn clone(&self) -> MountOption
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 MountOption
impl Debug for MountOption
Source§impl PartialEq for MountOption
impl PartialEq for MountOption
Source§fn eq(&self, other: &MountOption) -> bool
fn eq(&self, other: &MountOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MountOption
impl StructuralPartialEq for MountOption
Auto Trait Implementations§
impl Freeze for MountOption
impl RefUnwindSafe for MountOption
impl Send for MountOption
impl Sync for MountOption
impl Unpin for MountOption
impl UnsafeUnpin for MountOption
impl UnwindSafe for MountOption
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