Struct ofdb_boundary::Rating
source · [−]pub struct Rating {
pub id: String,
pub title: String,
pub created: i64,
pub value: RatingValue,
pub context: RatingContext,
pub comments: Vec<Comment>,
pub source: String,
}Fields
id: Stringtitle: Stringcreated: i64value: RatingValuecontext: RatingContextcomments: Vec<Comment>source: StringTrait Implementations
sourceimpl<'de> Deserialize<'de> for Rating
impl<'de> Deserialize<'de> for Rating
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Rating
impl Send for Rating
impl Sync for Rating
impl Unpin for Rating
impl UnwindSafe for Rating
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more