pub struct QgroupLimitCommand {
pub size: QgroupLimitSize,
pub target: String,
pub path: Option<PathBuf>,
pub compress: bool,
pub exclusive: bool,
}Expand description
Set limits on a subvolume quota group
Fields§
§size: QgroupLimitSizeSize limit in bytes (use suffix K/M/G/T), or “none” to remove the limit
target: StringQgroup ID (e.g. “0/5”) or path if qgroupid is omitted
path: Option<PathBuf>Path to the filesystem (required when qgroupid is given)
compress: boolLimit amount of data after compression
exclusive: boolLimit space exclusively assigned to this qgroup
Trait Implementations§
Source§impl Args for QgroupLimitCommand
impl Args for QgroupLimitCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for QgroupLimitCommand
impl CommandFactory for QgroupLimitCommand
Source§impl Debug for QgroupLimitCommand
impl Debug for QgroupLimitCommand
Source§impl FromArgMatches for QgroupLimitCommand
impl FromArgMatches for QgroupLimitCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for QgroupLimitCommand
impl Parser for QgroupLimitCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl Runnable for QgroupLimitCommand
impl Runnable for QgroupLimitCommand
Auto Trait Implementations§
impl Freeze for QgroupLimitCommand
impl RefUnwindSafe for QgroupLimitCommand
impl Send for QgroupLimitCommand
impl Sync for QgroupLimitCommand
impl Unpin for QgroupLimitCommand
impl UnsafeUnpin for QgroupLimitCommand
impl UnwindSafe for QgroupLimitCommand
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