Struct sway_types::JsonTypeApplication
source · [−]pub struct JsonTypeApplication {
pub name: String,
pub type_id: usize,
pub type_arguments: Option<Vec<JsonTypeApplication>>,
}
Fields
name: String
type_id: usize
type_arguments: Option<Vec<JsonTypeApplication>>
Trait Implementations
sourceimpl Clone for JsonTypeApplication
impl Clone for JsonTypeApplication
sourcefn clone(&self) -> JsonTypeApplication
fn clone(&self) -> JsonTypeApplication
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JsonTypeApplication
impl Debug for JsonTypeApplication
sourceimpl Default for JsonTypeApplication
impl Default for JsonTypeApplication
sourcefn default() -> JsonTypeApplication
fn default() -> JsonTypeApplication
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JsonTypeApplication
impl<'de> Deserialize<'de> for JsonTypeApplication
sourcefn 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
sourceimpl Hash for JsonTypeApplication
impl Hash for JsonTypeApplication
sourceimpl PartialEq<JsonTypeApplication> for JsonTypeApplication
impl PartialEq<JsonTypeApplication> for JsonTypeApplication
sourcefn eq(&self, other: &JsonTypeApplication) -> bool
fn eq(&self, other: &JsonTypeApplication) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for JsonTypeApplication
impl Serialize for JsonTypeApplication
impl Eq for JsonTypeApplication
impl StructuralEq for JsonTypeApplication
impl StructuralPartialEq for JsonTypeApplication
Auto Trait Implementations
impl RefUnwindSafe for JsonTypeApplication
impl Send for JsonTypeApplication
impl Sync for JsonTypeApplication
impl Unpin for JsonTypeApplication
impl UnwindSafe for JsonTypeApplication
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more