pub struct PracticeServiceResponse {
pub data: Option<Box<Practice>>,
pub success: Option<bool>,
pub message: Option<Option<String>>,
pub response_code: Option<HttpStatusCode>,
}Fields§
§data: Option<Box<Practice>>§success: Option<bool>§message: Option<Option<String>>§response_code: Option<HttpStatusCode>Implementations§
Source§impl PracticeServiceResponse
impl PracticeServiceResponse
pub fn new() -> PracticeServiceResponse
Trait Implementations§
Source§impl Clone for PracticeServiceResponse
impl Clone for PracticeServiceResponse
Source§fn clone(&self) -> PracticeServiceResponse
fn clone(&self) -> PracticeServiceResponse
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 PracticeServiceResponse
impl Debug for PracticeServiceResponse
Source§impl Default for PracticeServiceResponse
impl Default for PracticeServiceResponse
Source§fn default() -> PracticeServiceResponse
fn default() -> PracticeServiceResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PracticeServiceResponse
impl<'de> Deserialize<'de> for PracticeServiceResponse
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 PracticeServiceResponse
impl PartialEq for PracticeServiceResponse
Source§impl Serialize for PracticeServiceResponse
impl Serialize for PracticeServiceResponse
impl StructuralPartialEq for PracticeServiceResponse
Auto Trait Implementations§
impl Freeze for PracticeServiceResponse
impl RefUnwindSafe for PracticeServiceResponse
impl Send for PracticeServiceResponse
impl Sync for PracticeServiceResponse
impl Unpin for PracticeServiceResponse
impl UnwindSafe for PracticeServiceResponse
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