#[non_exhaustive]pub struct CreateForumThread {
pub type_: ForumThreadType,
pub id: Uuid,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type_: ForumThreadType§id: UuidImplementations§
Source§impl CreateForumThread
impl CreateForumThread
Sourcepub async fn send(&self) -> Result<Limited<ForumThreadResponseData>>
pub async fn send(&self) -> Result<Limited<ForumThreadResponseData>>
Send the request.
Trait Implementations§
Source§impl Clone for CreateForumThread
impl Clone for CreateForumThread
Source§fn clone(&self) -> CreateForumThread
fn clone(&self) -> CreateForumThread
Returns a duplicate 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 CreateForumThread
impl Debug for CreateForumThread
Source§impl Endpoint for CreateForumThread
impl Endpoint for CreateForumThread
Source§type Response = ApiData<ForumThreadObject<ForumThreadAttributes>>
type Response = ApiData<ForumThreadObject<ForumThreadAttributes>>
The response type.
Source§fn require_auth(&self) -> bool
fn require_auth(&self) -> bool
Get whether auth is required for this request.
type Query = ()
type Body = CreateForumThread
fn query(&self) -> Option<&Self::Query>
fn multipart(&self) -> Option<Form>
Auto Trait Implementations§
impl Freeze for CreateForumThread
impl !RefUnwindSafe for CreateForumThread
impl Send for CreateForumThread
impl Sync for CreateForumThread
impl Unpin for CreateForumThread
impl !UnwindSafe for CreateForumThread
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