pub struct SetAppointmentResponse {
pub appointment_id: Option<String>,
pub warnings: Option<Vec<Warning>>,
pub errors: Option<Vec<Error>>,
}Expand description
SetAppointmentResponse : Response schema for the addAppointmentForServiceJobByServiceJobId and rescheduleAppointmentForServiceJobByServiceJobId operations.
Fields§
§appointment_id: Option<String>The appointment identifier.
warnings: Option<Vec<Warning>>A list of warnings returned in the sucessful execution response of an API request.
errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations§
Source§impl SetAppointmentResponse
impl SetAppointmentResponse
Sourcepub fn new() -> SetAppointmentResponse
pub fn new() -> SetAppointmentResponse
Response schema for the addAppointmentForServiceJobByServiceJobId and rescheduleAppointmentForServiceJobByServiceJobId operations.
Trait Implementations§
Source§impl Clone for SetAppointmentResponse
impl Clone for SetAppointmentResponse
Source§fn clone(&self) -> SetAppointmentResponse
fn clone(&self) -> SetAppointmentResponse
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 SetAppointmentResponse
impl Debug for SetAppointmentResponse
Source§impl Default for SetAppointmentResponse
impl Default for SetAppointmentResponse
Source§fn default() -> SetAppointmentResponse
fn default() -> SetAppointmentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetAppointmentResponse
impl<'de> Deserialize<'de> for SetAppointmentResponse
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 SetAppointmentResponse
impl PartialEq for SetAppointmentResponse
Source§impl Serialize for SetAppointmentResponse
impl Serialize for SetAppointmentResponse
impl StructuralPartialEq for SetAppointmentResponse
Auto Trait Implementations§
impl Freeze for SetAppointmentResponse
impl RefUnwindSafe for SetAppointmentResponse
impl Send for SetAppointmentResponse
impl Sync for SetAppointmentResponse
impl Unpin for SetAppointmentResponse
impl UnwindSafe for SetAppointmentResponse
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