Struct kujira::Ics27MetadataInit
source · pub struct Ics27MetadataInit {
pub version: String,
pub controller_connection_id: String,
pub host_connection_id: String,
pub encoding: String,
pub tx_type: String,
}
Fields§
§version: String
§controller_connection_id: String
§host_connection_id: String
§encoding: String
§tx_type: String
Implementations§
source§impl Ics27MetadataInit
impl Ics27MetadataInit
pub fn new( controller_connection_id: String, host_connection_id: String, ) -> Ics27MetadataInit
Trait Implementations§
source§impl Clone for Ics27MetadataInit
impl Clone for Ics27MetadataInit
source§fn clone(&self) -> Ics27MetadataInit
fn clone(&self) -> Ics27MetadataInit
Returns a copy 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 Ics27MetadataInit
impl Debug for Ics27MetadataInit
source§impl<'de> Deserialize<'de> for Ics27MetadataInit
impl<'de> Deserialize<'de> for Ics27MetadataInit
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Ics27MetadataInit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Ics27MetadataInit, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Ics27MetadataInit> for Ics29MetadataInit
impl From<Ics27MetadataInit> for Ics29MetadataInit
source§fn from(app_version: Ics27MetadataInit) -> Ics29MetadataInit
fn from(app_version: Ics27MetadataInit) -> Ics29MetadataInit
Converts to this type from the input type.
source§impl JsonSchema for Ics27MetadataInit
impl JsonSchema for Ics27MetadataInit
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for Ics27MetadataInit
impl PartialEq for Ics27MetadataInit
source§fn eq(&self, other: &Ics27MetadataInit) -> bool
fn eq(&self, other: &Ics27MetadataInit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Ics27MetadataInit
impl Serialize for Ics27MetadataInit
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Ics27MetadataInit
Auto Trait Implementations§
impl Freeze for Ics27MetadataInit
impl RefUnwindSafe for Ics27MetadataInit
impl Send for Ics27MetadataInit
impl Sync for Ics27MetadataInit
impl Unpin for Ics27MetadataInit
impl UnwindSafe for Ics27MetadataInit
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more