Struct rosu_v2::model::beatmap::BeatmapsetDiscussion
source · pub struct BeatmapsetDiscussion {Show 17 fields
pub discussion_id: u64,
pub mapset_id: u32,
pub map_id: Option<u32>,
pub user_id: u32,
pub deleted_by_id: Option<u32>,
pub message_type: String,
pub parent_id: Option<u64>,
pub timestamp: Option<u64>,
pub resolved: bool,
pub can_be_resolved: bool,
pub can_grant_kudosu: bool,
pub created_at: OffsetDateTime,
pub updated_at: Option<OffsetDateTime>,
pub deleted_at: Option<OffsetDateTime>,
pub last_post_at: OffsetDateTime,
pub kudosu_denied: bool,
pub starting_post: BeatmapsetPost,
}
Fields§
§discussion_id: u64
§mapset_id: u32
§map_id: Option<u32>
§user_id: u32
§deleted_by_id: Option<u32>
§message_type: String
§parent_id: Option<u64>
§timestamp: Option<u64>
§resolved: bool
§can_be_resolved: bool
§can_grant_kudosu: bool
§created_at: OffsetDateTime
§updated_at: Option<OffsetDateTime>
§deleted_at: Option<OffsetDateTime>
§last_post_at: OffsetDateTime
§kudosu_denied: bool
§starting_post: BeatmapsetPost
Trait Implementations§
source§impl Clone for BeatmapsetDiscussion
impl Clone for BeatmapsetDiscussion
source§fn clone(&self) -> BeatmapsetDiscussion
fn clone(&self) -> BeatmapsetDiscussion
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 BeatmapsetDiscussion
impl Debug for BeatmapsetDiscussion
source§impl<'de> Deserialize<'de> for BeatmapsetDiscussion
impl<'de> Deserialize<'de> for BeatmapsetDiscussion
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 PartialEq<BeatmapsetDiscussion> for BeatmapsetDiscussion
impl PartialEq<BeatmapsetDiscussion> for BeatmapsetDiscussion
impl Eq for BeatmapsetDiscussion
Auto Trait Implementations§
impl RefUnwindSafe for BeatmapsetDiscussion
impl Send for BeatmapsetDiscussion
impl Sync for BeatmapsetDiscussion
impl Unpin for BeatmapsetDiscussion
impl UnwindSafe for BeatmapsetDiscussion
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.