[−][src]Struct lnpbp::rgb::contract::nodes::Extension
Implementations
impl Extension
[src]
pub fn with(
extension_type: ExtensionType,
contract_id: ContractId,
metadata: Metadata,
parent_public_rights: ParentPublicRights,
owned_rights: OwnedRights,
public_rights: PublicRights,
script: SimplicityScript
) -> Self
[src]
extension_type: ExtensionType,
contract_id: ContractId,
metadata: Metadata,
parent_public_rights: ParentPublicRights,
owned_rights: OwnedRights,
public_rights: PublicRights,
script: SimplicityScript
) -> Self
Trait Implementations
impl AsAny for Extension
[src]
impl AutoConceal for Extension
[src]
fn conceal_except(&mut self, seals: &Vec<Confidential>) -> usize
[src]
fn conceal_all(&mut self) -> usize
[src]
impl Clone for Extension
[src]
impl CommitEncodeWithStrategy for Extension
[src]
type Strategy = UsingStrict
impl ConsensusCommit for Extension
[src]
type Commitment = NodeId
fn consensus_commit(self) -> Self::Commitment
[src]
fn consensus_verify(self, commitment: &Self::Commitment) -> bool
[src]
impl Debug for Extension
[src]
impl Default for Extension
[src]
impl Display for Extension
[src]
impl Eq for Extension
[src]
impl From<Extension> for Bech32
[src]
impl FromStr for Extension
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Node for Extension
[src]
fn node_type(&self) -> NodeType
[src]
fn node_id(&self) -> NodeId
[src]
fn contract_id(&self) -> Option<ContractId>
[src]
fn transition_type(&self) -> Option<TransitionType>
[src]
fn extension_type(&self) -> Option<usize>
[src]
fn parent_owned_rights(&self) -> &ParentOwnedRights
[src]
fn parent_public_rights(&self) -> &ParentPublicRights
[src]
fn metadata(&self) -> &Metadata
[src]
fn owned_rights(&self) -> &OwnedRights
[src]
fn owned_rights_mut(&mut self) -> &mut OwnedRights
[src]
fn public_rights(&self) -> &PublicRights
[src]
fn public_rights_mut(&mut self) -> &mut PublicRights
[src]
fn script(&self) -> &SimplicityScript
[src]
fn field_types(&self) -> Vec<FieldType>ⓘ
[src]
fn owned_right_types(&self) -> BTreeSet<OwnedRightType>
[src]
fn owned_rights_by_type(&self, t: OwnedRightType) -> Option<&Assignments>
[src]
fn all_seal_definitions(&self) -> Vec<Confidential>ⓘ
[src]
fn known_seal_definitions(&self) -> Vec<Revealed>ⓘ
[src]
fn known_seal_definitions_by_type(
&self,
assignment_type: OwnedRightType
) -> Vec<Revealed>ⓘ
[src]
&self,
assignment_type: OwnedRightType
) -> Vec<Revealed>ⓘ
impl PartialEq<Extension> for Extension
[src]
impl StrictDecode for Extension
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Self::Error>
[src]
impl StrictEncode for Extension
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Self::Error>
[src]
impl StructuralEq for Extension
[src]
impl StructuralPartialEq for Extension
[src]
impl TryFrom<Bech32> for Extension
[src]
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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> FromBech32 for T where
T: TryFrom<Bech32, Error = Error>,
[src]
T: TryFrom<Bech32, Error = Error>,
pub fn from_bech32(Bech32) -> Result<T, Error>
[src]
fn from_bech32_str(s: &str) -> Result<Self, Error>
[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> ToBech32 for T where
T: Into<Bech32> + Clone,
[src]
T: Into<Bech32> + Clone,
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> 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,