[−][src]Struct stellar_base::claim::ClaimableBalanceId
Implementations
impl ClaimableBalanceId
[src]
pub fn new(hash: Vec<u8>) -> Result<ClaimableBalanceId>
[src]
Returns a new claimable balance id, or Error if the hash length is not 32 bytes.
pub fn as_bytes(&self) -> &[u8]
[src]
Retrieves the claimable balance id bytes.
pub fn to_xdr(&self) -> ClaimableBalanceId
[src]
Returns the xdr object.
pub fn from_xdr(x: &ClaimableBalanceId) -> Result<ClaimableBalanceId>
[src]
Creates from the xdr object.
Trait Implementations
impl Clone for ClaimableBalanceId
[src]
pub fn clone(&self) -> ClaimableBalanceId
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClaimableBalanceId
[src]
impl Eq for ClaimableBalanceId
[src]
impl PartialEq<ClaimableBalanceId> for ClaimableBalanceId
[src]
pub fn eq(&self, other: &ClaimableBalanceId) -> bool
[src]
pub fn ne(&self, other: &ClaimableBalanceId) -> bool
[src]
impl StructuralEq for ClaimableBalanceId
[src]
impl StructuralPartialEq for ClaimableBalanceId
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClaimableBalanceId
[src]
impl Send for ClaimableBalanceId
[src]
impl Sync for ClaimableBalanceId
[src]
impl Unpin for ClaimableBalanceId
[src]
impl UnwindSafe for ClaimableBalanceId
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,