pub struct DepartmentInfo {
pub id: String,
pub name: String,
pub parent_id: String,
pub order: i64,
}Fields§
§id: String§name: String§parent_id: String§order: i64Trait Implementations§
Source§impl Debug for DepartmentInfo
impl Debug for DepartmentInfo
Source§impl Default for DepartmentInfo
impl Default for DepartmentInfo
Source§fn default() -> DepartmentInfo
fn default() -> DepartmentInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DepartmentInfo
impl<'de> Deserialize<'de> for DepartmentInfo
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
Auto Trait Implementations§
impl Freeze for DepartmentInfo
impl RefUnwindSafe for DepartmentInfo
impl Send for DepartmentInfo
impl Sync for DepartmentInfo
impl Unpin for DepartmentInfo
impl UnwindSafe for DepartmentInfo
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