pub struct SlackFileFlags {
pub editable: Option<bool>,
pub is_external: Option<bool>,
pub is_public: Option<bool>,
pub public_url_shared: Option<bool>,
pub display_as_bot: Option<bool>,
pub is_starred: Option<bool>,
pub has_rich_preview: Option<bool>,
}
Fields§
§editable: Option<bool>
§is_external: Option<bool>
§is_public: Option<bool>
§display_as_bot: Option<bool>
§is_starred: Option<bool>
§has_rich_preview: Option<bool>
Implementations§
Source§impl SlackFileFlags
impl SlackFileFlags
pub fn new() -> Self
pub fn editable(&mut self, value: bool) -> &mut Self
pub fn reset_editable(&mut self) -> &mut Self
pub fn mopt_editable(&mut self, value: Option<bool>) -> &mut Self
pub fn with_editable(self, value: bool) -> Self
pub fn without_editable(self) -> Self
pub fn opt_editable(self, value: Option<bool>) -> Self
pub fn is_external(&mut self, value: bool) -> &mut Self
pub fn reset_is_external(&mut self) -> &mut Self
pub fn mopt_is_external(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_external(self, value: bool) -> Self
pub fn without_is_external(self) -> Self
pub fn opt_is_external(self, value: Option<bool>) -> Self
pub fn is_public(&mut self, value: bool) -> &mut Self
pub fn reset_is_public(&mut self) -> &mut Self
pub fn mopt_is_public(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_public(self, value: bool) -> Self
pub fn without_is_public(self) -> Self
pub fn opt_is_public(self, value: Option<bool>) -> Self
pub fn display_as_bot(&mut self, value: bool) -> &mut Self
pub fn reset_display_as_bot(&mut self) -> &mut Self
pub fn mopt_display_as_bot(&mut self, value: Option<bool>) -> &mut Self
pub fn with_display_as_bot(self, value: bool) -> Self
pub fn without_display_as_bot(self) -> Self
pub fn opt_display_as_bot(self, value: Option<bool>) -> Self
pub fn is_starred(&mut self, value: bool) -> &mut Self
pub fn reset_is_starred(&mut self) -> &mut Self
pub fn mopt_is_starred(&mut self, value: Option<bool>) -> &mut Self
pub fn with_is_starred(self, value: bool) -> Self
pub fn without_is_starred(self) -> Self
pub fn opt_is_starred(self, value: Option<bool>) -> Self
pub fn has_rich_preview(&mut self, value: bool) -> &mut Self
pub fn reset_has_rich_preview(&mut self) -> &mut Self
pub fn mopt_has_rich_preview(&mut self, value: Option<bool>) -> &mut Self
pub fn with_has_rich_preview(self, value: bool) -> Self
pub fn without_has_rich_preview(self) -> Self
pub fn opt_has_rich_preview(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackFileFlags
impl Clone for SlackFileFlags
Source§fn clone(&self) -> SlackFileFlags
fn clone(&self) -> SlackFileFlags
Returns a copy 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 SlackFileFlags
impl Debug for SlackFileFlags
Source§impl<'de> Deserialize<'de> for SlackFileFlags
impl<'de> Deserialize<'de> for SlackFileFlags
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
Source§impl From<SlackFileFlagsInit> for SlackFileFlags
impl From<SlackFileFlagsInit> for SlackFileFlags
Source§fn from(value: SlackFileFlagsInit) -> Self
fn from(value: SlackFileFlagsInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackFileFlags
impl PartialEq for SlackFileFlags
Source§impl Serialize for SlackFileFlags
impl Serialize for SlackFileFlags
impl StructuralPartialEq for SlackFileFlags
Auto Trait Implementations§
impl Freeze for SlackFileFlags
impl RefUnwindSafe for SlackFileFlags
impl Send for SlackFileFlags
impl Sync for SlackFileFlags
impl Unpin for SlackFileFlags
impl UnwindSafe for SlackFileFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)