pub struct CanMoveMessagesWithinChannelGroup(pub GroupSetting);Expand description
Represents a group-setting value defining the set of users who have permission to move messages within this channel.
Note that a user must have content access to a channel in order to move messages within the channel.
Channel administrators and users present in the organization-level can_move_messages_between_topics_group setting can always move messages within the channel if they have content access to the channel.
Changes: New in Zulip 11.0 (feature level 396). Prior to this change, only the users in can_move_messages_between_topics_group were able move messages between topics of a channel.
Tuple Fields§
§0: GroupSettingImplementations§
Source§impl CanMoveMessagesWithinChannelGroup
impl CanMoveMessagesWithinChannelGroup
Sourcepub const fn from_inner(val: GroupSetting) -> Self
pub const fn from_inner(val: GroupSetting) -> Self
Converts the inner representation into a Self.
Sourcepub fn into_inner(self) -> GroupSetting
pub fn into_inner(self) -> GroupSetting
Converts the Self into the inner representation.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CanMoveMessagesWithinChannelGroup
impl<'de> Deserialize<'de> for CanMoveMessagesWithinChannelGroup
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<'c> From<&'c CanMoveMessagesWithinChannelGroup> for Cow<'c, CanMoveMessagesWithinChannelGroup>
impl<'c> From<&'c CanMoveMessagesWithinChannelGroup> for Cow<'c, CanMoveMessagesWithinChannelGroup>
Source§fn from(val: &'c CanMoveMessagesWithinChannelGroup) -> Self
fn from(val: &'c CanMoveMessagesWithinChannelGroup) -> Self
Converts to this type from the input type.
Source§impl<'c> From<CanMoveMessagesWithinChannelGroup> for Cow<'c, CanMoveMessagesWithinChannelGroup>
impl<'c> From<CanMoveMessagesWithinChannelGroup> for Cow<'c, CanMoveMessagesWithinChannelGroup>
Source§fn from(val: CanMoveMessagesWithinChannelGroup) -> Self
fn from(val: CanMoveMessagesWithinChannelGroup) -> Self
Converts to this type from the input type.
Source§impl<'c> From<Cow<'c, CanMoveMessagesWithinChannelGroup>> for CanMoveMessagesWithinChannelGroup
impl<'c> From<Cow<'c, CanMoveMessagesWithinChannelGroup>> for CanMoveMessagesWithinChannelGroup
impl StructuralPartialEq for CanMoveMessagesWithinChannelGroup
Auto Trait Implementations§
impl Freeze for CanMoveMessagesWithinChannelGroup
impl RefUnwindSafe for CanMoveMessagesWithinChannelGroup
impl Send for CanMoveMessagesWithinChannelGroup
impl Sync for CanMoveMessagesWithinChannelGroup
impl Unpin for CanMoveMessagesWithinChannelGroup
impl UnsafeUnpin for CanMoveMessagesWithinChannelGroup
impl UnwindSafe for CanMoveMessagesWithinChannelGroup
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