pub struct ForumThreadObject<A, T = RelationshipType> {
pub type_: T,
pub id: u32,
pub attributes: A,
}
Fields§
§type_: T
§id: u32
§attributes: A
Trait Implementations§
Source§impl<A, T> Clone for ForumThreadObject<A, T>
impl<A, T> 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<A, T> Debug for ForumThreadObject<A, T>
impl<A, T> Debug for ForumThreadObject<A, T>
Source§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<ForumThreadObject<A, T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForumThreadObject<A, T>, <__D as Deserializer<'de>>::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: <ForumThreadObject<A, T> as FromResponse>::Response, ) -> ForumThreadObject<A, T>
Source§impl<A, T> PartialEq for ForumThreadObject<A, T>
impl<A, T> PartialEq for ForumThreadObject<A, T>
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