[−][src]Struct casperlabs_contract_ffi::contract_api::TURef
Methods
impl<T: CLTyped> TURef<T>
[src]
pub fn new(addr: [u8; 32], access_rights: AccessRights) -> Self
[src]
pub fn from_uref(uref: URef) -> Result<Self, AccessRightsError>
[src]
pub fn addr(&self) -> [u8; 32]
[src]
pub fn access_rights(&self) -> AccessRights
[src]
pub fn set_access_rights(&mut self, access_rights: AccessRights)
[src]
Trait Implementations
impl<T: Clone> Clone for TURef<T>
[src]
fn clone(&self) -> TURef<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for TURef<T>
[src]
impl<T: Debug> Debug for TURef<T>
[src]
impl<T> Display for TURef<T>
[src]
impl<T: Eq> Eq for TURef<T>
[src]
impl<T: CLTyped> From<TURef<T>> for Key
[src]
impl<T: CLTyped> From<TURef<T>> for URef
[src]
impl<T: Hash> Hash for TURef<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq> PartialEq<TURef<T>> for TURef<T>
[src]
impl<T> StructuralEq for TURef<T>
[src]
impl<T> StructuralPartialEq for TURef<T>
[src]
Auto Trait Implementations
impl<T> Send for TURef<T> where
T: Send,
T: Send,
impl<T> Sync for TURef<T> where
T: Sync,
T: Sync,
impl<T> Unpin for TURef<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,