#[repr(i32)]pub enum BoardAclSubjectType {
SUBJECT_TYPE_UNSPECIFIED = 0,
USER_SUBJECT = 1,
GROUP_SUBJECT = 2,
}Expand description
BoardAclSubjectType identifies the explicit ACL subject domain.
Variants§
SUBJECT_TYPE_UNSPECIFIED = 0
ACL subject type is not specified.
USER_SUBJECT = 1
ACL entry applies to one account.
GROUP_SUBJECT = 2
ACL entry applies to one collaboration group.
Implementations§
Source§impl BoardAclSubjectType
impl BoardAclSubjectType
Sourcepub const SubjectTypeUnspecified: Self = Self::SUBJECT_TYPE_UNSPECIFIED
pub const SubjectTypeUnspecified: Self = Self::SUBJECT_TYPE_UNSPECIFIED
Idiomatic alias for Self::SUBJECT_TYPE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const UserSubject: Self = Self::USER_SUBJECT
pub const UserSubject: Self = Self::USER_SUBJECT
Idiomatic alias for Self::USER_SUBJECT; Debug prints the variant name.
Sourcepub const GroupSubject: Self = Self::GROUP_SUBJECT
pub const GroupSubject: Self = Self::GROUP_SUBJECT
Idiomatic alias for Self::GROUP_SUBJECT; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for BoardAclSubjectType
impl Clone for BoardAclSubjectType
Source§fn clone(&self) -> BoardAclSubjectType
fn clone(&self) -> BoardAclSubjectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoardAclSubjectType
Source§impl Debug for BoardAclSubjectType
impl Debug for BoardAclSubjectType
Source§impl Default for BoardAclSubjectType
impl Default for BoardAclSubjectType
Source§impl<'de> Deserialize<'de> for BoardAclSubjectType
impl<'de> Deserialize<'de> for BoardAclSubjectType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for BoardAclSubjectType
impl Enumeration for BoardAclSubjectType
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for BoardAclSubjectType
Source§impl Hash for BoardAclSubjectType
impl Hash for BoardAclSubjectType
Source§impl PartialEq for BoardAclSubjectType
impl PartialEq for BoardAclSubjectType
Source§impl ProtoElemJson for BoardAclSubjectType
impl ProtoElemJson for BoardAclSubjectType
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for BoardAclSubjectType
impl Serialize for BoardAclSubjectType
impl StructuralPartialEq for BoardAclSubjectType
Auto Trait Implementations§
impl Freeze for BoardAclSubjectType
impl RefUnwindSafe for BoardAclSubjectType
impl Send for BoardAclSubjectType
impl Sync for BoardAclSubjectType
impl Unpin for BoardAclSubjectType
impl UnsafeUnpin for BoardAclSubjectType
impl UnwindSafe for BoardAclSubjectType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.