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