pub struct BoxReference {
pub app_id: u64,
pub name: Vec<u8>,
}
Expand description
Box reference for application call transactions.
References a specific box that should be made available for the runtime of the program.
Fields§
§app_id: u64
Application ID that owns the box. A value of 0 indicates the current application.
name: Vec<u8>
Name of the box.
Trait Implementations§
Source§impl Clone for BoxReference
impl Clone for BoxReference
Source§fn clone(&self) -> BoxReference
fn clone(&self) -> BoxReference
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 BoxReference
impl Debug for BoxReference
Source§impl<'de> Deserialize<'de> for BoxReference
impl<'de> Deserialize<'de> for BoxReference
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 PartialEq for BoxReference
impl PartialEq for BoxReference
Source§impl Serialize for BoxReference
impl Serialize for BoxReference
impl StructuralPartialEq for BoxReference
Auto Trait Implementations§
impl Freeze for BoxReference
impl RefUnwindSafe for BoxReference
impl Send for BoxReference
impl Sync for BoxReference
impl Unpin for BoxReference
impl UnwindSafe for BoxReference
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