Struct clarity_repl::clarity::types::QualifiedContractIdentifier
source · [−]pub struct QualifiedContractIdentifier {
pub issuer: StandardPrincipalData,
pub name: ContractName,
}
Fields
issuer: StandardPrincipalData
name: ContractName
Implementations
sourceimpl QualifiedContractIdentifier
impl QualifiedContractIdentifier
pub fn new(
issuer: StandardPrincipalData,
name: ContractName
) -> QualifiedContractIdentifier
pub fn local(name: &str) -> Result<QualifiedContractIdentifier>
pub fn transient() -> QualifiedContractIdentifier
pub fn parse(literal: &str) -> Result<QualifiedContractIdentifier>
pub fn to_string(&self) -> String
Trait Implementations
sourceimpl Clone for QualifiedContractIdentifier
impl Clone for QualifiedContractIdentifier
sourcefn clone(&self) -> QualifiedContractIdentifier
fn clone(&self) -> QualifiedContractIdentifier
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for QualifiedContractIdentifier
impl Debug for QualifiedContractIdentifier
sourceimpl<'de> Deserialize<'de> for QualifiedContractIdentifier
impl<'de> Deserialize<'de> for QualifiedContractIdentifier
sourcefn 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
sourceimpl Display for QualifiedContractIdentifier
impl Display for QualifiedContractIdentifier
sourceimpl From<QualifiedContractIdentifier> for PrincipalData
impl From<QualifiedContractIdentifier> for PrincipalData
sourcefn from(principal: QualifiedContractIdentifier) -> Self
fn from(principal: QualifiedContractIdentifier) -> Self
Converts to this type from the input type.
sourceimpl From<QualifiedContractIdentifier> for Value
impl From<QualifiedContractIdentifier> for Value
sourcefn from(principal: QualifiedContractIdentifier) -> Self
fn from(principal: QualifiedContractIdentifier) -> Self
Converts to this type from the input type.
sourceimpl Hash for QualifiedContractIdentifier
impl Hash for QualifiedContractIdentifier
sourceimpl Ord for QualifiedContractIdentifier
impl Ord for QualifiedContractIdentifier
sourcefn cmp(&self, other: &QualifiedContractIdentifier) -> Ordering
fn cmp(&self, other: &QualifiedContractIdentifier) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<QualifiedContractIdentifier> for QualifiedContractIdentifier
impl PartialEq<QualifiedContractIdentifier> for QualifiedContractIdentifier
sourcefn eq(&self, other: &QualifiedContractIdentifier) -> bool
fn eq(&self, other: &QualifiedContractIdentifier) -> bool
sourceimpl PartialOrd<QualifiedContractIdentifier> for QualifiedContractIdentifier
impl PartialOrd<QualifiedContractIdentifier> for QualifiedContractIdentifier
sourcefn partial_cmp(&self, other: &QualifiedContractIdentifier) -> Option<Ordering>
fn partial_cmp(&self, other: &QualifiedContractIdentifier) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for QualifiedContractIdentifier
impl StructuralEq for QualifiedContractIdentifier
impl StructuralPartialEq for QualifiedContractIdentifier
Auto Trait Implementations
impl RefUnwindSafe for QualifiedContractIdentifier
impl Send for QualifiedContractIdentifier
impl Sync for QualifiedContractIdentifier
impl Unpin for QualifiedContractIdentifier
impl UnwindSafe for QualifiedContractIdentifier
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more