pub struct OutputRecord {
pub ref_: OutPoint,
pub label: Option<String>,
pub spendable: bool,
}Expand description
An output label.
Fields§
§ref_: OutPoint§label: Option<String>§spendable: boolImplementations§
Trait Implementations§
Source§impl Clone for OutputRecord
impl Clone for OutputRecord
Source§fn clone(&self) -> OutputRecord
fn clone(&self) -> OutputRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputRecord
impl Debug for OutputRecord
Source§impl<'de> Deserialize<'de> for OutputRecord
impl<'de> Deserialize<'de> for OutputRecord
Source§fn 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
Source§impl From<OutputRecord> for Label
impl From<OutputRecord> for Label
Source§fn from(value: OutputRecord) -> Self
fn from(value: OutputRecord) -> Self
Converts to this type from the input type.
Source§impl Hash for OutputRecord
impl Hash for OutputRecord
Source§impl Ord for OutputRecord
impl Ord for OutputRecord
Source§fn cmp(&self, other: &OutputRecord) -> Ordering
fn cmp(&self, other: &OutputRecord) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutputRecord
impl PartialEq for OutputRecord
Source§impl PartialOrd for OutputRecord
impl PartialOrd for OutputRecord
Source§impl Serialize for OutputRecord
impl Serialize for OutputRecord
impl Eq for OutputRecord
impl StructuralPartialEq for OutputRecord
Auto Trait Implementations§
impl Freeze for OutputRecord
impl RefUnwindSafe for OutputRecord
impl Send for OutputRecord
impl Sync for OutputRecord
impl Unpin for OutputRecord
impl UnwindSafe for OutputRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more