pub struct Configs {
pub locked: Option<bool>,
pub min_confirmations: Option<i32>,
pub min_update_delay_seconds: Option<i64>,
pub schedule: Option<String>,
}Fields§
§locked: Option<bool>§min_confirmations: Option<i32>§min_update_delay_seconds: Option<i64>§schedule: Option<String>Trait Implementations§
Source§impl BorshDeserialize for Configswhere
Option<bool>: BorshDeserialize,
Option<i32>: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<String>: BorshDeserialize,
impl BorshDeserialize for Configswhere
Option<bool>: BorshDeserialize,
Option<i32>: BorshDeserialize,
Option<i64>: BorshDeserialize,
Option<String>: BorshDeserialize,
Source§impl BorshSerialize for Configswhere
Option<bool>: BorshSerialize,
Option<i32>: BorshSerialize,
Option<i64>: BorshSerialize,
Option<String>: BorshSerialize,
impl BorshSerialize for Configswhere
Option<bool>: BorshSerialize,
Option<i32>: BorshSerialize,
Option<i64>: BorshSerialize,
Option<String>: BorshSerialize,
Source§impl<'a> MessageRead<'a> for Configs
impl<'a> MessageRead<'a> for Configs
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Configs, Error>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Configs, Error>
Constructs an instance of
Self by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Configs
impl MessageWrite for Configs
impl StructuralPartialEq for Configs
Auto Trait Implementations§
impl Freeze for Configs
impl RefUnwindSafe for Configs
impl Send for Configs
impl Sync for Configs
impl Unpin for Configs
impl UnwindSafe for Configs
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§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