pub enum SpacePermissionSettings {
PredefinedPermissionSettings(i32),
PermissionSettings(PermissionSettings),
}
Expand description
Represents the [permission settings]
(https://support.google.com/chat/answer/13340792) of a space. Only
populated when the space_type
is SPACE
.
Requires user authentication.
Variants§
PredefinedPermissionSettings(i32)
Optional. Input only. Predefined space permission settings, input only
when creating a space. If the field is not set, a collaboration space is
created. After you create the space, settings are populated in the
PermissionSettings
field.
PermissionSettings(PermissionSettings)
Optional. Space permission settings for existing spaces. Input for updating exact space permission settings, where existing permission settings are replaced. Output lists current permission settings.
Implementations§
Source§impl SpacePermissionSettings
impl SpacePermissionSettings
Sourcepub fn merge(
field: &mut Option<SpacePermissionSettings>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SpacePermissionSettings>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for SpacePermissionSettings
impl Clone for SpacePermissionSettings
Source§fn clone(&self) -> SpacePermissionSettings
fn clone(&self) -> SpacePermissionSettings
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SpacePermissionSettings
impl Debug for SpacePermissionSettings
Source§impl PartialEq for SpacePermissionSettings
impl PartialEq for SpacePermissionSettings
impl Copy for SpacePermissionSettings
impl StructuralPartialEq for SpacePermissionSettings
Auto Trait Implementations§
impl Freeze for SpacePermissionSettings
impl RefUnwindSafe for SpacePermissionSettings
impl Send for SpacePermissionSettings
impl Sync for SpacePermissionSettings
impl Unpin for SpacePermissionSettings
impl UnwindSafe for SpacePermissionSettings
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