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
sourceimpl SetAppointmentResponse
impl SetAppointmentResponse
sourcepub fn new() -> SetAppointmentResponse
pub fn new() -> SetAppointmentResponse
Response schema for the addAppointmentForServiceJobByServiceJobId and rescheduleAppointmentForServiceJobByServiceJobId operations.
Trait Implementations
sourceimpl Clone for SetAppointmentResponse
impl Clone for SetAppointmentResponse
sourcefn clone(&self) -> SetAppointmentResponse
fn clone(&self) -> SetAppointmentResponse
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 SetAppointmentResponse
impl Debug for SetAppointmentResponse
sourceimpl Default for SetAppointmentResponse
impl Default for SetAppointmentResponse
sourcefn default() -> SetAppointmentResponse
fn default() -> SetAppointmentResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SetAppointmentResponse
impl<'de> Deserialize<'de> for SetAppointmentResponse
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<SetAppointmentResponse> for SetAppointmentResponse
impl PartialEq<SetAppointmentResponse> for SetAppointmentResponse
sourcefn eq(&self, other: &SetAppointmentResponse) -> bool
fn eq(&self, other: &SetAppointmentResponse) -> bool
sourceimpl Serialize for SetAppointmentResponse
impl Serialize for SetAppointmentResponse
impl StructuralPartialEq for SetAppointmentResponse
Auto Trait Implementations
impl RefUnwindSafe for SetAppointmentResponse
impl Send for SetAppointmentResponse
impl Sync for SetAppointmentResponse
impl Unpin for SetAppointmentResponse
impl UnwindSafe for SetAppointmentResponse
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