Struct aws_sdk_fsx::model::OpenZfsUserOrGroupQuota
source · [−]#[non_exhaustive]pub struct OpenZfsUserOrGroupQuota {
pub type: Option<OpenZfsQuotaType>,
pub id: Option<i32>,
pub storage_capacity_quota_gi_b: Option<i32>,
}
Expand description
The configuration for how much storage a user or group can use on the volume.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<OpenZfsQuotaType>
A value that specifies whether the quota applies to a user or group.
id: Option<i32>
The ID of the user or group.
storage_capacity_quota_gi_b: Option<i32>
The amount of storage that the user or group can use in gibibytes (GiB).
Implementations
sourceimpl OpenZfsUserOrGroupQuota
impl OpenZfsUserOrGroupQuota
sourcepub fn type(&self) -> Option<&OpenZfsQuotaType>
pub fn type(&self) -> Option<&OpenZfsQuotaType>
A value that specifies whether the quota applies to a user or group.
sourcepub fn storage_capacity_quota_gi_b(&self) -> Option<i32>
pub fn storage_capacity_quota_gi_b(&self) -> Option<i32>
The amount of storage that the user or group can use in gibibytes (GiB).
sourceimpl OpenZfsUserOrGroupQuota
impl OpenZfsUserOrGroupQuota
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OpenZfsUserOrGroupQuota
Trait Implementations
sourceimpl Clone for OpenZfsUserOrGroupQuota
impl Clone for OpenZfsUserOrGroupQuota
sourcefn clone(&self) -> OpenZfsUserOrGroupQuota
fn clone(&self) -> OpenZfsUserOrGroupQuota
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OpenZfsUserOrGroupQuota
impl Debug for OpenZfsUserOrGroupQuota
sourceimpl PartialEq<OpenZfsUserOrGroupQuota> for OpenZfsUserOrGroupQuota
impl PartialEq<OpenZfsUserOrGroupQuota> for OpenZfsUserOrGroupQuota
sourcefn eq(&self, other: &OpenZfsUserOrGroupQuota) -> bool
fn eq(&self, other: &OpenZfsUserOrGroupQuota) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OpenZfsUserOrGroupQuota) -> bool
fn ne(&self, other: &OpenZfsUserOrGroupQuota) -> bool
This method tests for !=
.
impl StructuralPartialEq for OpenZfsUserOrGroupQuota
Auto Trait Implementations
impl RefUnwindSafe for OpenZfsUserOrGroupQuota
impl Send for OpenZfsUserOrGroupQuota
impl Sync for OpenZfsUserOrGroupQuota
impl Unpin for OpenZfsUserOrGroupQuota
impl UnwindSafe for OpenZfsUserOrGroupQuota
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more