[−][src]Struct lnpbp::rgb::contract::nodes::Genesis
Implementations
impl Genesis
[src]
pub fn with(
schema_id: SchemaId,
chain: Chain,
metadata: Metadata,
owned_rights: OwnedRights,
public_rights: PublicRights,
script: SimplicityScript
) -> Self
[src]
schema_id: SchemaId,
chain: Chain,
metadata: Metadata,
owned_rights: OwnedRights,
public_rights: PublicRights,
script: SimplicityScript
) -> Self
pub fn contract_id(&self) -> ContractId
[src]
pub fn schema_id(&self) -> SchemaId
[src]
pub fn chain(&self) -> &Chain
[src]
Trait Implementations
impl AsAny for Genesis
[src]
impl AutoConceal for Genesis
[src]
fn conceal_except(&mut self, seals: &Vec<Confidential>) -> usize
[src]
fn conceal_all(&mut self) -> usize
[src]
impl Clone for Genesis
[src]
impl CommitEncode for Genesis
[src]
fn commit_encode<E: Write>(self, e: E) -> usize
[src]
impl ConsensusCommit for Genesis
[src]
type Commitment = NodeId
fn consensus_commit(self) -> Self::Commitment
[src]
fn consensus_verify(self, commitment: &Self::Commitment) -> bool
[src]
impl Debug for Genesis
[src]
impl Default for Genesis
[src]
impl Display for Genesis
[src]
impl Eq for Genesis
[src]
impl From<Genesis> for Bech32
[src]
impl FromStr for Genesis
[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 Genesis
[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<Genesis> for Genesis
[src]
impl StrictDecode for Genesis
[src]
type Error = Error
Implementation-dependent error type
fn strict_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl StrictEncode for Genesis
[src]
type Error = Error
Implementation-dependent error type
fn strict_encode<E: Write>(&self, e: E) -> Result<usize, Error>
[src]
impl StructuralEq for Genesis
[src]
impl StructuralPartialEq for Genesis
[src]
impl TryFrom<Bech32> for Genesis
[src]
Auto Trait Implementations
impl RefUnwindSafe for Genesis
impl Send for Genesis
impl Sync for Genesis
impl Unpin for Genesis
impl UnwindSafe for Genesis
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>,