pub struct SlackStarsItemGroup {
pub group: SlackChannelId,
pub date_create: SlackDateTime,
}Fields§
§group: SlackChannelId§date_create: SlackDateTimeImplementations§
Source§impl SlackStarsItemGroup
impl SlackStarsItemGroup
Sourcepub fn new(group: SlackChannelId, date_create: SlackDateTime) -> Self
pub fn new(group: SlackChannelId, date_create: SlackDateTime) -> Self
Creates a new SlackStarsItemGroup from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn group(&mut self, value: SlackChannelId) -> &mut Self
pub fn group(&mut self, value: SlackChannelId) -> &mut Self
Sets group to value.
Sourcepub fn with_group(self, value: SlackChannelId) -> Self
pub fn with_group(self, value: SlackChannelId) -> Self
Returns self with group set to value.
Sourcepub fn date_create(&mut self, value: SlackDateTime) -> &mut Self
pub fn date_create(&mut self, value: SlackDateTime) -> &mut Self
Sets date_create to value.
Sourcepub fn with_date_create(self, value: SlackDateTime) -> Self
pub fn with_date_create(self, value: SlackDateTime) -> Self
Returns self with date_create set to value.
Trait Implementations§
Source§impl Clone for SlackStarsItemGroup
impl Clone for SlackStarsItemGroup
Source§impl Debug for SlackStarsItemGroup
impl Debug for SlackStarsItemGroup
Source§impl<'de> Deserialize<'de> for SlackStarsItemGroup
impl<'de> Deserialize<'de> for SlackStarsItemGroup
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<SlackStarsItemGroupInit> for SlackStarsItemGroup
impl From<SlackStarsItemGroupInit> for SlackStarsItemGroup
Source§fn from(value: SlackStarsItemGroupInit) -> Self
fn from(value: SlackStarsItemGroupInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackStarsItemGroup
impl PartialEq for SlackStarsItemGroup
Source§impl Serialize for SlackStarsItemGroup
impl Serialize for SlackStarsItemGroup
impl StructuralPartialEq for SlackStarsItemGroup
Auto Trait Implementations§
impl Freeze for SlackStarsItemGroup
impl RefUnwindSafe for SlackStarsItemGroup
impl Send for SlackStarsItemGroup
impl Sync for SlackStarsItemGroup
impl Unpin for SlackStarsItemGroup
impl UnsafeUnpin for SlackStarsItemGroup
impl UnwindSafe for SlackStarsItemGroup
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