pub struct SlackAsksTeamSettings {
pub id: Option<String>,
pub has_default_ask: Option<bool>,
}Expand description
Tuple for mapping Slack channel IDs to names.
Fields§
§id: Option<String>The Linear team ID.
has_default_ask: Option<bool>Whether the default Asks template is enabled in the given channel for this team.
Trait Implementations§
Source§impl Clone for SlackAsksTeamSettings
impl Clone for SlackAsksTeamSettings
Source§fn clone(&self) -> SlackAsksTeamSettings
fn clone(&self) -> SlackAsksTeamSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlackAsksTeamSettings
impl Debug for SlackAsksTeamSettings
Source§impl Default for SlackAsksTeamSettings
impl Default for SlackAsksTeamSettings
Source§fn default() -> SlackAsksTeamSettings
fn default() -> SlackAsksTeamSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlackAsksTeamSettingswhere
SlackAsksTeamSettings: Default,
impl<'de> Deserialize<'de> for SlackAsksTeamSettingswhere
SlackAsksTeamSettings: Default,
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§
impl Freeze for SlackAsksTeamSettings
impl RefUnwindSafe for SlackAsksTeamSettings
impl Send for SlackAsksTeamSettings
impl Sync for SlackAsksTeamSettings
impl Unpin for SlackAsksTeamSettings
impl UnwindSafe for SlackAsksTeamSettings
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