Struct aws_sdk_fsx::types::OpenZfsUserOrGroupQuota
source · #[non_exhaustive]pub struct OpenZfsUserOrGroupQuota {
pub type: Option<OpenZfsQuotaType>,
pub id: Option<i32>,
pub storage_capacity_quota_gib: Option<i32>,
}
Expand description
Used to configure quotas that define how much storage a user or group can use on an FSx for OpenZFS volume. For more information, see Volume properties in the FSx for OpenZFS User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: Option<OpenZfsQuotaType>
Specifies whether the quota applies to a user or group.
id: Option<i32>
The ID of the user or group that the quota applies to.
storage_capacity_quota_gib: Option<i32>
The user or group's storage quota, in gibibytes (GiB).
Implementations§
source§impl OpenZfsUserOrGroupQuota
impl OpenZfsUserOrGroupQuota
sourcepub fn type(&self) -> Option<&OpenZfsQuotaType>
pub fn type(&self) -> Option<&OpenZfsQuotaType>
Specifies whether the quota applies to a user or group.
sourcepub fn storage_capacity_quota_gib(&self) -> Option<i32>
pub fn storage_capacity_quota_gib(&self) -> Option<i32>
The user or group's storage quota, in gibibytes (GiB).
source§impl OpenZfsUserOrGroupQuota
impl OpenZfsUserOrGroupQuota
sourcepub fn builder() -> OpenZfsUserOrGroupQuotaBuilder
pub fn builder() -> OpenZfsUserOrGroupQuotaBuilder
Creates a new builder-style object to manufacture OpenZfsUserOrGroupQuota
.
Trait Implementations§
source§impl Clone for OpenZfsUserOrGroupQuota
impl Clone for OpenZfsUserOrGroupQuota
source§fn clone(&self) -> OpenZfsUserOrGroupQuota
fn clone(&self) -> OpenZfsUserOrGroupQuota
Returns a copy 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 OpenZfsUserOrGroupQuota
impl Debug for OpenZfsUserOrGroupQuota
source§impl PartialEq for OpenZfsUserOrGroupQuota
impl PartialEq for OpenZfsUserOrGroupQuota
source§fn 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 ==
.impl StructuralPartialEq for OpenZfsUserOrGroupQuota
Auto Trait Implementations§
impl Freeze for OpenZfsUserOrGroupQuota
impl RefUnwindSafe for OpenZfsUserOrGroupQuota
impl Send for OpenZfsUserOrGroupQuota
impl Sync for OpenZfsUserOrGroupQuota
impl Unpin for OpenZfsUserOrGroupQuota
impl UnwindSafe for OpenZfsUserOrGroupQuota
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.