pub struct UpdateStatusResponse {
pub id: String,
pub status: OrderStatus,
pub message: Option<String>,
}Expand description
Resposta ao atualizar status de pedido
Fields§
§id: StringID do pedido
status: OrderStatusNovo status
message: Option<String>Mensagem de confirmação
Trait Implementations§
Source§impl Clone for UpdateStatusResponse
impl Clone for UpdateStatusResponse
Source§fn clone(&self) -> UpdateStatusResponse
fn clone(&self) -> UpdateStatusResponse
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 UpdateStatusResponse
impl Debug for UpdateStatusResponse
Source§impl<'de> Deserialize<'de> for UpdateStatusResponse
impl<'de> Deserialize<'de> for UpdateStatusResponse
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
Auto Trait Implementations§
impl Freeze for UpdateStatusResponse
impl RefUnwindSafe for UpdateStatusResponse
impl Send for UpdateStatusResponse
impl Sync for UpdateStatusResponse
impl Unpin for UpdateStatusResponse
impl UnwindSafe for UpdateStatusResponse
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