pub struct SlackStarsItemFile {
pub file: SlackFile,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}
Fields§
§file: SlackFile
§channel: SlackChannelId
§date_create: SlackDateTime
Implementations§
Source§impl SlackStarsItemFile
impl SlackStarsItemFile
pub fn new( file: SlackFile, channel: SlackChannelId, date_create: SlackDateTime, ) -> Self
pub fn file(&mut self, value: SlackFile) -> &mut Self
pub fn with_file(self, value: SlackFile) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn date_create(&mut self, value: SlackDateTime) -> &mut Self
pub fn with_date_create(self, value: SlackDateTime) -> Self
Trait Implementations§
Source§impl Clone for SlackStarsItemFile
impl Clone for SlackStarsItemFile
Source§fn clone(&self) -> SlackStarsItemFile
fn clone(&self) -> SlackStarsItemFile
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 SlackStarsItemFile
impl Debug for SlackStarsItemFile
Source§impl<'de> Deserialize<'de> for SlackStarsItemFile
impl<'de> Deserialize<'de> for SlackStarsItemFile
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<SlackStarsItemFileInit> for SlackStarsItemFile
impl From<SlackStarsItemFileInit> for SlackStarsItemFile
Source§fn from(value: SlackStarsItemFileInit) -> Self
fn from(value: SlackStarsItemFileInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackStarsItemFile
impl PartialEq for SlackStarsItemFile
Source§impl Serialize for SlackStarsItemFile
impl Serialize for SlackStarsItemFile
impl StructuralPartialEq for SlackStarsItemFile
Auto Trait Implementations§
impl Freeze for SlackStarsItemFile
impl RefUnwindSafe for SlackStarsItemFile
impl Send for SlackStarsItemFile
impl Sync for SlackStarsItemFile
impl Unpin for SlackStarsItemFile
impl UnwindSafe for SlackStarsItemFile
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
)