#[non_exhaustive]pub struct ForumThreadObject<A, T = RelationshipType> {
pub type_: T,
pub id: u32,
pub attributes: A,
}
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_: T
§id: u32
§attributes: A
Trait Implementations§
Source§impl<A: Clone, T: Clone> Clone for ForumThreadObject<A, T>
impl<A: Clone, T: Clone> Clone for ForumThreadObject<A, T>
Source§fn clone(&self) -> ForumThreadObject<A, T>
fn clone(&self) -> ForumThreadObject<A, T>
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<'de, A, T> Deserialize<'de> for ForumThreadObject<A, T>where
A: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, A, T> Deserialize<'de> for ForumThreadObject<A, T>where
A: Deserialize<'de>,
T: Deserialize<'de>,
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<A, T> FromResponse for ForumThreadObject<A, T>
impl<A, T> FromResponse for ForumThreadObject<A, T>
type Response = ForumThreadObject<A, T>
fn from_response(value: Self::Response) -> Self
impl<A, T> StructuralPartialEq for ForumThreadObject<A, T>
Auto Trait Implementations§
impl<A, T> Freeze for ForumThreadObject<A, T>
impl<A, T> RefUnwindSafe for ForumThreadObject<A, T>where
T: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, T> Send for ForumThreadObject<A, T>
impl<A, T> Sync for ForumThreadObject<A, T>
impl<A, T> Unpin for ForumThreadObject<A, T>
impl<A, T> UnwindSafe for ForumThreadObject<A, T>where
T: UnwindSafe,
A: UnwindSafe,
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