Struct chain_impl_mockchain::fragment::config::ConfigParams
source · pub struct ConfigParams(pub(crate) Vec<ConfigParam>);
Tuple Fields§
§0: Vec<ConfigParam>
Implementations§
source§impl ConfigParams
impl ConfigParams
pub fn new() -> Self
pub fn push(&mut self, config: ConfigParam)
pub fn iter(&self) -> Iter<'_, ConfigParam>
Trait Implementations§
source§impl Arbitrary for ConfigParams
impl Arbitrary for ConfigParams
source§impl Clone for ConfigParams
impl Clone for ConfigParams
source§fn clone(&self) -> ConfigParams
fn clone(&self) -> ConfigParams
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 ConfigParams
impl Debug for ConfigParams
source§impl Default for ConfigParams
impl Default for ConfigParams
source§fn default() -> ConfigParams
fn default() -> ConfigParams
Returns the “default value” for a type. Read more
source§impl DeserializeFromSlice for ConfigParams
impl DeserializeFromSlice for ConfigParams
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
source§impl PartialEq<ConfigParams> for ConfigParams
impl PartialEq<ConfigParams> for ConfigParams
source§fn eq(&self, other: &ConfigParams) -> bool
fn eq(&self, other: &ConfigParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigParams
impl Serialize for ConfigParams
impl Eq for ConfigParams
impl StructuralEq for ConfigParams
impl StructuralPartialEq for ConfigParams
Auto Trait Implementations§
impl RefUnwindSafe for ConfigParams
impl Send for ConfigParams
impl Sync for ConfigParams
impl Unpin for ConfigParams
impl UnwindSafe for ConfigParams
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