pub struct RandomInner {
pub version: u64,
pub epoch: u64,
pub randomness_round: u64,
pub random_bytes: MoveVec<u8>,
}
Fields§
§version: u64
§epoch: u64
§randomness_round: u64
§random_bytes: MoveVec<u8>
Implementations§
Source§impl RandomInner
impl RandomInner
Source§impl RandomInner
impl RandomInner
pub fn move_instance(self) -> MoveInstance<Self>
pub fn type_() -> RandomInnerTypeTag
Trait Implementations§
Source§impl Clone for RandomInner
impl Clone for RandomInner
Source§fn clone(&self) -> RandomInner
fn clone(&self) -> RandomInner
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 RandomInner
impl Debug for RandomInner
Source§impl<'de> Deserialize<'de> for RandomInner
impl<'de> Deserialize<'de> for RandomInner
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 Display for RandomInner
impl Display for RandomInner
Source§impl Hash for RandomInner
impl Hash for RandomInner
Source§impl MoveStruct for RandomInner
impl MoveStruct for RandomInner
Source§impl MoveType for RandomInner
impl MoveType for RandomInner
Source§impl PartialEq for RandomInner
impl PartialEq for RandomInner
Source§impl Serialize for RandomInner
impl Serialize for RandomInner
Source§impl StaticAddress for RandomInner
impl StaticAddress for RandomInner
Source§impl StaticModule for RandomInner
impl StaticModule for RandomInner
fn module() -> Identifier
Source§impl StaticName for RandomInner
impl StaticName for RandomInner
fn name() -> Identifier
Source§impl StaticTypeParams for RandomInner
impl StaticTypeParams for RandomInner
fn type_params() -> Vec<TypeTag>
Source§impl Tabled for RandomInner
impl Tabled for RandomInner
impl Eq for RandomInner
impl StructuralPartialEq for RandomInner
Auto Trait Implementations§
impl Freeze for RandomInner
impl RefUnwindSafe for RandomInner
impl Send for RandomInner
impl Sync for RandomInner
impl Unpin for RandomInner
impl UnwindSafe for RandomInner
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