pub struct SharedChannel {
pub id: Option<String>,
pub team_id: Option<String>,
pub home: Option<bool>,
pub readonly: Option<bool>,
pub name: Option<String>,
pub display_name: Option<String>,
pub purpose: Option<String>,
pub header: Option<String>,
pub creator_id: Option<String>,
pub create_at: Option<i32>,
pub update_at: Option<i32>,
pub remote_id: Option<String>,
}
Fields§
§id: Option<String>
Channel id of the shared channel
team_id: Option<String>
§home: Option<bool>
Is this the home cluster for the shared channel
readonly: Option<bool>
Is this shared channel shared as read only
name: Option<String>
Channel name as it is shared (may be different than original channel name)
display_name: Option<String>
Channel display name as it appears locally
purpose: Option<String>
§header: Option<String>
§creator_id: Option<String>
Id of the user that shared the channel
create_at: Option<i32>
Time in milliseconds that the channel was shared
update_at: Option<i32>
Time in milliseconds that the shared channel record was last updated
remote_id: Option<String>
Id of the remote cluster where the shared channel is homed
Implementations§
pub fn new() -> SharedChannel
Trait Implementations§
Source§fn clone(&self) -> SharedChannel
fn clone(&self) -> SharedChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§fn default() -> SharedChannel
fn default() -> SharedChannel
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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