pub enum SigFlag {
SigInputs,
SigAll,
}
Expand description
Signature flag
Defined in NUT11
Variants§
SigInputs
Requires valid signatures on all inputs.
It is the default signature flag and will be applied even if the
sigflag
tag is absent.
SigAll
Requires valid signatures on all inputs and on all outputs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SigFlag
impl<'de> Deserialize<'de> for SigFlag
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SigFlag, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SigFlag, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for SigFlag
impl Ord for SigFlag
Source§impl PartialOrd for SigFlag
impl PartialOrd for SigFlag
Source§impl Serialize for SigFlag
impl Serialize for SigFlag
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SigFlag
impl Eq for SigFlag
impl StructuralPartialEq for SigFlag
Auto Trait Implementations§
impl Freeze for SigFlag
impl RefUnwindSafe for SigFlag
impl Send for SigFlag
impl Sync for SigFlag
impl Unpin for SigFlag
impl UnwindSafe for SigFlag
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