#[repr(i32)]pub enum BoardAudience {
AUDIENCE_UNSPECIFIED = 0,
PRIVATE = 1,
PUBLIC = 2,
FOLLOWERS = 3,
}Expand description
BoardAudience controls which audience rule applies when no explicit ACL entry matches.
Variants§
AUDIENCE_UNSPECIFIED = 0
Audience is not specified.
PRIVATE = 1
Only the owner and explicit ACL entries have access.
PUBLIC = 2
Any caller gets the board default role.
FOLLOWERS = 3
Followers of the owner get the board default role.
Implementations§
Source§impl BoardAudience
impl BoardAudience
Sourcepub const AudienceUnspecified: Self = Self::AUDIENCE_UNSPECIFIED
pub const AudienceUnspecified: Self = Self::AUDIENCE_UNSPECIFIED
Idiomatic alias for Self::AUDIENCE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const Private: Self = Self::PRIVATE
pub const Private: Self = Self::PRIVATE
Idiomatic alias for Self::PRIVATE; Debug prints the variant name.
Sourcepub const Public: Self = Self::PUBLIC
pub const Public: Self = Self::PUBLIC
Idiomatic alias for Self::PUBLIC; Debug prints the variant name.
Sourcepub const Followers: Self = Self::FOLLOWERS
pub const Followers: Self = Self::FOLLOWERS
Idiomatic alias for Self::FOLLOWERS; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for BoardAudience
impl Clone for BoardAudience
Source§fn clone(&self) -> BoardAudience
fn clone(&self) -> BoardAudience
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 BoardAudience
Source§impl Debug for BoardAudience
impl Debug for BoardAudience
Source§impl Default for BoardAudience
impl Default for BoardAudience
Source§impl<'de> Deserialize<'de> for BoardAudience
impl<'de> Deserialize<'de> for BoardAudience
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 BoardAudience
impl Enumeration for BoardAudience
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 BoardAudience
Source§impl Hash for BoardAudience
impl Hash for BoardAudience
Source§impl PartialEq for BoardAudience
impl PartialEq for BoardAudience
Source§impl ProtoElemJson for BoardAudience
impl ProtoElemJson for BoardAudience
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 BoardAudience
impl Serialize for BoardAudience
impl StructuralPartialEq for BoardAudience
Auto Trait Implementations§
impl Freeze for BoardAudience
impl RefUnwindSafe for BoardAudience
impl Send for BoardAudience
impl Sync for BoardAudience
impl Unpin for BoardAudience
impl UnsafeUnpin for BoardAudience
impl UnwindSafe for BoardAudience
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.