pub struct UpdateForumSettings {
pub group_id: LegacyId,
pub read_permissions: i32,
pub post_message_permissions: i32,
pub post_thread_permissions: i32,
pub moderate_permissions: i32,
}
Fields§
§group_id: LegacyId
§read_permissions: i32
§post_message_permissions: i32
§post_thread_permissions: i32
§moderate_permissions: i32
Trait Implementations§
source§impl BaseParser for UpdateForumSettings
impl BaseParser for UpdateForumSettings
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for UpdateForumSettings
impl Clone for UpdateForumSettings
source§fn clone(&self) -> UpdateForumSettings
fn clone(&self) -> UpdateForumSettings
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 UpdateForumSettings
impl Debug for UpdateForumSettings
source§impl Default for UpdateForumSettings
impl Default for UpdateForumSettings
source§fn default() -> UpdateForumSettings
fn default() -> UpdateForumSettings
Returns the “default value” for a type. Read more
source§impl PacketVariable for UpdateForumSettings
impl PacketVariable for UpdateForumSettings
source§impl PartialEq<UpdateForumSettings> for UpdateForumSettings
impl PartialEq<UpdateForumSettings> for UpdateForumSettings
source§fn eq(&self, other: &UpdateForumSettings) -> bool
fn eq(&self, other: &UpdateForumSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateForumSettings
Auto Trait Implementations§
impl RefUnwindSafe for UpdateForumSettings
impl Send for UpdateForumSettings
impl Sync for UpdateForumSettings
impl Unpin for UpdateForumSettings
impl UnwindSafe for UpdateForumSettings
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