pub struct DepartmentInfo {
pub department_id: String,
pub name: String,
}Expand description
部门信息
Fields§
§department_id: String部门ID
name: String部门名称
Trait Implementations§
Source§impl Clone for DepartmentInfo
impl Clone for DepartmentInfo
Source§fn clone(&self) -> DepartmentInfo
fn clone(&self) -> DepartmentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DepartmentInfo
impl Debug for DepartmentInfo
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
Source§impl PartialEq for DepartmentInfo
impl PartialEq for DepartmentInfo
Source§fn eq(&self, other: &DepartmentInfo) -> bool
fn eq(&self, other: &DepartmentInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DepartmentInfo
impl Serialize for DepartmentInfo
impl StructuralPartialEq for DepartmentInfo
Auto Trait Implementations§
impl Freeze for DepartmentInfo
impl RefUnwindSafe for DepartmentInfo
impl Send for DepartmentInfo
impl Sync for DepartmentInfo
impl Unpin for DepartmentInfo
impl UnsafeUnpin 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