Struct protos::categories::ShardsScriptInfo
source · pub struct ShardsScriptInfo {
pub format: ShardsFormat,
pub requiring: Vec<ShardsTrait>,
pub implementing: Vec<ShardsTrait>,
}
Fields§
§format: ShardsFormat
§requiring: Vec<ShardsTrait>
§implementing: Vec<ShardsTrait>
Trait Implementations§
source§impl Clone for ShardsScriptInfo
impl Clone for ShardsScriptInfo
source§fn clone(&self) -> ShardsScriptInfo
fn clone(&self) -> ShardsScriptInfo
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 ShardsScriptInfo
impl Debug for ShardsScriptInfo
source§impl Decode for ShardsScriptInfo
impl Decode for ShardsScriptInfo
source§impl<'de> Deserialize<'de> for ShardsScriptInfo
impl<'de> Deserialize<'de> for ShardsScriptInfo
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 Encode for ShardsScriptInfo
impl Encode for ShardsScriptInfo
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
Convert self to a slice and append it to the destination.
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
source§impl PartialEq<ShardsScriptInfo> for ShardsScriptInfo
impl PartialEq<ShardsScriptInfo> for ShardsScriptInfo
source§fn eq(&self, other: &ShardsScriptInfo) -> bool
fn eq(&self, other: &ShardsScriptInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.