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