pub struct FeedbackQuery {
pub id: Option<Uuid>,
pub address_string: Option<String>,
pub parking_location: Option<Box<FeedbackLocation>>,
pub door_location: Option<Box<FeedbackLocation>>,
}Fields§
§id: Option<Uuid>Existing Naurt ID for the address being updated
address_string: Option<String>Address text for a new feedback item. Address strings are not matched with current data, so existing addresses should use id instead.
parking_location: Option<Box<FeedbackLocation>>§door_location: Option<Box<FeedbackLocation>>Implementations§
Source§impl FeedbackQuery
impl FeedbackQuery
pub fn new() -> FeedbackQuery
Trait Implementations§
Source§impl Clone for FeedbackQuery
impl Clone for FeedbackQuery
Source§fn clone(&self) -> FeedbackQuery
fn clone(&self) -> FeedbackQuery
Returns a duplicate 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 Debug for FeedbackQuery
impl Debug for FeedbackQuery
Source§impl Default for FeedbackQuery
impl Default for FeedbackQuery
Source§fn default() -> FeedbackQuery
fn default() -> FeedbackQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeedbackQuery
impl<'de> Deserialize<'de> for FeedbackQuery
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 PartialEq for FeedbackQuery
impl PartialEq for FeedbackQuery
Source§impl Serialize for FeedbackQuery
impl Serialize for FeedbackQuery
impl StructuralPartialEq for FeedbackQuery
Auto Trait Implementations§
impl Freeze for FeedbackQuery
impl RefUnwindSafe for FeedbackQuery
impl Send for FeedbackQuery
impl Sync for FeedbackQuery
impl Unpin for FeedbackQuery
impl UnsafeUnpin for FeedbackQuery
impl UnwindSafe for FeedbackQuery
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