pub struct PassportInput {
pub name: String,
pub type_: String,
}Expand description
A single contract input parameter in the passport JSON.
Fields§
§name: String§type_: StringTrait Implementations§
Source§impl Clone for PassportInput
impl Clone for PassportInput
Source§fn clone(&self) -> PassportInput
fn clone(&self) -> PassportInput
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 PassportInput
impl Debug for PassportInput
Source§impl<'de> Deserialize<'de> for PassportInput
impl<'de> Deserialize<'de> for PassportInput
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 PassportInput
impl PartialEq for PassportInput
Source§impl Serialize for PassportInput
impl Serialize for PassportInput
impl StructuralPartialEq for PassportInput
Auto Trait Implementations§
impl Freeze for PassportInput
impl RefUnwindSafe for PassportInput
impl Send for PassportInput
impl Sync for PassportInput
impl Unpin for PassportInput
impl UnsafeUnpin for PassportInput
impl UnwindSafe for PassportInput
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