pub struct TestAptosCrypto(pub String);Expand description
This struct provides a means of testing signing and verification through BCS serialization and domain separation
Tuple Fields§
§0: StringTrait Implementations§
Source§impl CryptoHash for TestAptosCrypto
impl CryptoHash for TestAptosCrypto
Source§impl Debug for TestAptosCrypto
impl Debug for TestAptosCrypto
Source§impl<'de> Deserialize<'de> for TestAptosCrypto
impl<'de> Deserialize<'de> for TestAptosCrypto
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
Auto Trait Implementations§
impl Freeze for TestAptosCrypto
impl RefUnwindSafe for TestAptosCrypto
impl Send for TestAptosCrypto
impl Sync for TestAptosCrypto
impl Unpin for TestAptosCrypto
impl UnsafeUnpin for TestAptosCrypto
impl UnwindSafe for TestAptosCrypto
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> TestOnlyHash for T
impl<T> TestOnlyHash for T
Source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.