pub struct BlindAuthToken {
pub auth_proof: AuthProof,
}
Expand description
Blind Auth Token
Fields§
§auth_proof: AuthProof
Implementations§
Source§impl BlindAuthToken
impl BlindAuthToken
Sourcepub fn new(auth_proof: AuthProof) -> BlindAuthToken
pub fn new(auth_proof: AuthProof) -> BlindAuthToken
Create new BlindAuthToken
Sourcepub fn without_dleq(&self) -> BlindAuthToken
pub fn without_dleq(&self) -> BlindAuthToken
Remove DLEQ
We do not send the DLEQ to the mint as it links redemption and creation
Trait Implementations§
Source§impl Clone for BlindAuthToken
impl Clone for BlindAuthToken
Source§fn clone(&self) -> BlindAuthToken
fn clone(&self) -> BlindAuthToken
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 BlindAuthToken
impl Debug for BlindAuthToken
Source§impl<'de> Deserialize<'de> for BlindAuthToken
impl<'de> Deserialize<'de> for BlindAuthToken
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlindAuthToken, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BlindAuthToken, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BlindAuthToken
impl Display for BlindAuthToken
Source§impl FromStr for BlindAuthToken
impl FromStr for BlindAuthToken
Source§impl PartialEq for BlindAuthToken
impl PartialEq for BlindAuthToken
Source§impl Serialize for BlindAuthToken
impl Serialize for BlindAuthToken
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 Eq for BlindAuthToken
impl StructuralPartialEq for BlindAuthToken
Auto Trait Implementations§
impl Freeze for BlindAuthToken
impl RefUnwindSafe for BlindAuthToken
impl Send for BlindAuthToken
impl Sync for BlindAuthToken
impl Unpin for BlindAuthToken
impl UnwindSafe for BlindAuthToken
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