pub struct Rating {
pub header: ResourceHeader,
pub attributes: Option<RatingAttributes>,
pub relationships: RatingRelationships,
}Expand description
Rating
Fields§
§header: ResourceHeaderResource header
attributes: Option<RatingAttributes>Rating attributes
relationships: RatingRelationshipsRating relationships
Implementations§
Source§impl Rating
impl Rating
Sourcepub fn get<'a>() -> RatingGetRequestBuilder<'a>
pub fn get<'a>() -> RatingGetRequestBuilder<'a>
Get rating request builder
Sourcepub fn add_rating<'a>() -> RatingPostRequestBuilder<'a>
pub fn add_rating<'a>() -> RatingPostRequestBuilder<'a>
Post rating request builder
Sourcepub fn remove_rating<'a>() -> RatingPostRequestBuilder<'a>
pub fn remove_rating<'a>() -> RatingPostRequestBuilder<'a>
Post rating request builder
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rating
impl<'de> Deserialize<'de> for Rating
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
impl Eq for Rating
impl StructuralPartialEq for Rating
Auto Trait Implementations§
impl Freeze for Rating
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
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