pub struct Scheme {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub create_at: Option<i64>,
pub update_at: Option<i64>,
pub delete_at: Option<i64>,
pub scope: Option<String>,
pub default_team_admin_role: Option<String>,
pub default_team_user_role: Option<String>,
pub default_channel_admin_role: Option<String>,
pub default_channel_user_role: Option<String>,
}
Fields§
§id: Option<String>
The unique identifier of the scheme.
name: Option<String>
The human readable name for the scheme.
description: Option<String>
A human readable description of the scheme.
create_at: Option<i64>
The time at which the scheme was created.
update_at: Option<i64>
The time at which the scheme was last updated.
delete_at: Option<i64>
The time at which the scheme was deleted.
scope: Option<String>
The scope to which this scheme can be applied, either "team" or "channel".
default_team_admin_role: Option<String>
The id of the default team admin role for this scheme.
default_team_user_role: Option<String>
The id of the default team user role for this scheme.
default_channel_admin_role: Option<String>
The id of the default channel admin role for this scheme.
default_channel_user_role: Option<String>
The id of the default channel user role for this scheme.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scheme
impl<'de> Deserialize<'de> for Scheme
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnwindSafe for Scheme
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