Struct ehelply::models::update_review::UpdateReview
source · [−]pub struct UpdateReview {
pub rating: Option<i32>,
pub max_rating: Option<i32>,
pub review_text: Option<String>,
}
Fields
rating: Option<i32>
max_rating: Option<i32>
review_text: Option<String>
Implementations
sourceimpl UpdateReview
impl UpdateReview
pub fn new() -> UpdateReview
Trait Implementations
sourceimpl Clone for UpdateReview
impl Clone for UpdateReview
sourcefn clone(&self) -> UpdateReview
fn clone(&self) -> UpdateReview
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpdateReview
impl Debug for UpdateReview
sourceimpl Default for UpdateReview
impl Default for UpdateReview
sourcefn default() -> UpdateReview
fn default() -> UpdateReview
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateReview
impl<'de> Deserialize<'de> for UpdateReview
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
sourceimpl PartialEq<UpdateReview> for UpdateReview
impl PartialEq<UpdateReview> for UpdateReview
sourcefn eq(&self, other: &UpdateReview) -> bool
fn eq(&self, other: &UpdateReview) -> bool
sourceimpl Serialize for UpdateReview
impl Serialize for UpdateReview
impl StructuralPartialEq for UpdateReview
Auto Trait Implementations
impl RefUnwindSafe for UpdateReview
impl Send for UpdateReview
impl Sync for UpdateReview
impl Unpin for UpdateReview
impl UnwindSafe for UpdateReview
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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