Struct google_api_proto::google::cloud::baremetalsolution::v2::nfs_share::AllowedClient
source · pub struct AllowedClient {
pub network: String,
pub share_ip: String,
pub allowed_clients_cidr: String,
pub mount_permissions: i32,
pub allow_dev: bool,
pub allow_suid: bool,
pub no_root_squash: bool,
pub nfs_path: String,
}
Expand description
Represents an ‘access point’ for the share.
Fields§
§network: String
The network the access point sits on.
Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network’s services_cidr.
allowed_clients_cidr: String
The subnet of IP addresses permitted to access the share.
mount_permissions: i32
Mount permissions.
allow_dev: bool
Allow dev flag. Which controls whether to allow creation of devices.
allow_suid: bool
Allow the setuid flag.
no_root_squash: bool
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
nfs_path: String
Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like “10.0.0.0:/g123456789-nfs001”
Implementations§
source§impl AllowedClient
impl AllowedClient
sourcepub fn mount_permissions(&self) -> MountPermissions
pub fn mount_permissions(&self) -> MountPermissions
Returns the enum value of mount_permissions
, or the default if the field is set to an invalid enum value.
sourcepub fn set_mount_permissions(&mut self, value: MountPermissions)
pub fn set_mount_permissions(&mut self, value: MountPermissions)
Sets mount_permissions
to the provided enum value.
Trait Implementations§
source§impl Clone for AllowedClient
impl Clone for AllowedClient
source§fn clone(&self) -> AllowedClient
fn clone(&self) -> AllowedClient
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AllowedClient
impl Debug for AllowedClient
source§impl Default for AllowedClient
impl Default for AllowedClient
source§impl Message for AllowedClient
impl Message for AllowedClient
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AllowedClient
impl PartialEq for AllowedClient
source§fn eq(&self, other: &AllowedClient) -> bool
fn eq(&self, other: &AllowedClient) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AllowedClient
Auto Trait Implementations§
impl Freeze for AllowedClient
impl RefUnwindSafe for AllowedClient
impl Send for AllowedClient
impl Sync for AllowedClient
impl Unpin for AllowedClient
impl UnwindSafe for AllowedClient
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request