pub struct CreateIdentityBody {
pub url: String,
pub key_hash: Option<Vec<u8>>,
pub key_book_url: Option<String>,
pub authorities: Option<Vec<String>>,
}Fields§
§url: String§key_hash: Option<Vec<u8>>§key_book_url: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for CreateIdentityBody
impl Clone for CreateIdentityBody
Source§fn clone(&self) -> CreateIdentityBody
fn clone(&self) -> CreateIdentityBody
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 CreateIdentityBody
impl Debug for CreateIdentityBody
Source§impl<'de> Deserialize<'de> for CreateIdentityBody
impl<'de> Deserialize<'de> for CreateIdentityBody
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 CreateIdentityBody
impl PartialEq for CreateIdentityBody
Source§impl Serialize for CreateIdentityBody
impl Serialize for CreateIdentityBody
impl StructuralPartialEq for CreateIdentityBody
Auto Trait Implementations§
impl Freeze for CreateIdentityBody
impl RefUnwindSafe for CreateIdentityBody
impl Send for CreateIdentityBody
impl Sync for CreateIdentityBody
impl Unpin for CreateIdentityBody
impl UnsafeUnpin for CreateIdentityBody
impl UnwindSafe for CreateIdentityBody
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