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