#[repr(i32)]pub enum AccessState {
Unspecified = 0,
Private = 1,
Discoverable = 2,
}
Expand description
Represents the access state of the space.
Variants§
Unspecified = 0
Access state is unknown or not supported in this API.
Private = 1
Only users or Google Groups that have been individually added or invited by other users or Google Workspace administrators can discover and access the space.
Discoverable = 2
A space manager has granted a target audience access to the space. Users or Google Groups that have been individually added or invited to the space can also discover and access the space. To learn more, see Make a space discoverable to specific users.
Creating discoverable spaces requires user authentication.
Implementations§
Source§impl AccessState
impl AccessState
Source§impl AccessState
impl AccessState
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for AccessState
impl Clone for AccessState
Source§fn clone(&self) -> AccessState
fn clone(&self) -> AccessState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccessState
impl Debug for AccessState
Source§impl Default for AccessState
impl Default for AccessState
Source§fn default() -> AccessState
fn default() -> AccessState
Source§impl From<AccessState> for i32
impl From<AccessState> for i32
Source§fn from(value: AccessState) -> i32
fn from(value: AccessState) -> i32
Source§impl Hash for AccessState
impl Hash for AccessState
Source§impl Ord for AccessState
impl Ord for AccessState
Source§fn cmp(&self, other: &AccessState) -> Ordering
fn cmp(&self, other: &AccessState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AccessState
impl PartialEq for AccessState
Source§impl PartialOrd for AccessState
impl PartialOrd for AccessState
Source§impl TryFrom<i32> for AccessState
impl TryFrom<i32> for AccessState
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<AccessState, UnknownEnumValue>
fn try_from(value: i32) -> Result<AccessState, UnknownEnumValue>
impl Copy for AccessState
impl Eq for AccessState
impl StructuralPartialEq for AccessState
Auto Trait Implementations§
impl Freeze for AccessState
impl RefUnwindSafe for AccessState
impl Send for AccessState
impl Sync for AccessState
impl Unpin for AccessState
impl UnwindSafe for AccessState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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