pub struct RelayContractConfig {
pub max_payload_bytes: usize,
pub allow_empty_payload: bool,
}Fields§
§max_payload_bytes: usize§allow_empty_payload: boolImplementations§
Source§impl RelayContractConfig
impl RelayContractConfig
pub fn validate(&self) -> Result<(), ConfigValidationError>
Trait Implementations§
Source§impl Clone for RelayContractConfig
impl Clone for RelayContractConfig
Source§fn clone(&self) -> RelayContractConfig
fn clone(&self) -> RelayContractConfig
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 RelayContractConfig
impl Debug for RelayContractConfig
Source§impl Default for RelayContractConfig
impl Default for RelayContractConfig
Source§impl PartialEq for RelayContractConfig
impl PartialEq for RelayContractConfig
impl Copy for RelayContractConfig
impl Eq for RelayContractConfig
impl StructuralPartialEq for RelayContractConfig
Auto Trait Implementations§
impl Freeze for RelayContractConfig
impl RefUnwindSafe for RelayContractConfig
impl Send for RelayContractConfig
impl Sync for RelayContractConfig
impl Unpin for RelayContractConfig
impl UnsafeUnpin for RelayContractConfig
impl UnwindSafe for RelayContractConfig
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