pub enum FindContactResponse {
Ok(Find200Response),
BadRequest(ContactFailureResponse),
MethodNotAllowed,
Unknown,
}Expand description
Response types for findContact
Variants§
Ok(Find200Response)
200: List of contacts (or an empty array if no contact was found). Contact objects will include any custom properties.
BadRequest(ContactFailureResponse)
400: Bad request (e.g. invalid email address).
MethodNotAllowed
405: Wrong HTTP request method.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for FindContactResponse
impl Clone for FindContactResponse
Auto Trait Implementations§
impl Freeze for FindContactResponse
impl RefUnwindSafe for FindContactResponse
impl Send for FindContactResponse
impl Sync for FindContactResponse
impl Unpin for FindContactResponse
impl UnsafeUnpin for FindContactResponse
impl UnwindSafe for FindContactResponse
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