Struct aleo_rust::snarkvm_types::Testnet3
pub struct Testnet3;
Trait Implementations§
§impl<'de> Deserialize<'de> for Testnet3
impl<'de> Deserialize<'de> for Testnet3
§fn deserialize<__D>(
__deserializer: __D
) -> Result<Testnet3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Testnet3, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
§impl Environment for Testnet3
impl Environment for Testnet3
§const EDWARDS_A: <Testnet3 as Environment>::Field = Console::EDWARDS_A
const EDWARDS_A: <Testnet3 as Environment>::Field = Console::EDWARDS_A
The coefficient A
of the twisted Edwards curve.
§const EDWARDS_D: <Testnet3 as Environment>::Field = Console::EDWARDS_D
const EDWARDS_D: <Testnet3 as Environment>::Field = Console::EDWARDS_D
The coefficient D
of the twisted Edwards curve.
§const MONTGOMERY_A: <Testnet3 as Environment>::Field = Console::MONTGOMERY_A
const MONTGOMERY_A: <Testnet3 as Environment>::Field = Console::MONTGOMERY_A
The coefficient A
of the Montgomery curve.
§const MONTGOMERY_B: <Testnet3 as Environment>::Field = Console::MONTGOMERY_B
const MONTGOMERY_B: <Testnet3 as Environment>::Field = Console::MONTGOMERY_B
The coefficient B
of the Montgomery curve.
type Affine = <Console as Environment>::Affine
type BigInteger = <Console as Environment>::BigInteger
type Field = <Console as Environment>::Field
type PairingCurve = <Console as Environment>::PairingCurve
type Projective = <Console as Environment>::Projective
type Scalar = <Console as Environment>::Scalar
§const MAX_STRING_BYTES: u32 = 255u32
const MAX_STRING_BYTES: u32 = 255u32
§impl Network for Testnet3
impl Network for Testnet3
§type BlockHash = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::BlockHash::{constant#0}>
type BlockHash = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::BlockHash::{constant#0}>
The block hash type.
§type StateRoot = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::StateRoot::{constant#0}>
type StateRoot = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::StateRoot::{constant#0}>
The state root type.
§type TransactionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransactionID::{constant#0}>
type TransactionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransactionID::{constant#0}>
The transaction ID type.
§type TransitionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransitionID::{constant#0}>
type TransitionID = AleoID<Field<Testnet3>, snarkvm_console_network::::testnet3::{impl#2}::TransitionID::{constant#0}>
The transition ID type.
§const INCLUSION_FUNCTION_NAME: &'static str = snarkvm_parameters::testnet3::TESTNET3_INCLUSION_FUNCTION_NAME
const INCLUSION_FUNCTION_NAME: &'static str = snarkvm_parameters::testnet3::TESTNET3_INCLUSION_FUNCTION_NAME
The function name for the inclusion circuit.
§fn genesis_bytes() -> &'static [u8] ⓘ
fn genesis_bytes() -> &'static [u8] ⓘ
Returns the genesis block bytes.
§fn get_credits_proving_key(
function_name: String
) -> Result<&'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, MarlinHidingMode>>, Error>
fn get_credits_proving_key( function_name: String ) -> Result<&'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, MarlinHidingMode>>, Error>
Returns the proving key for the given function name in credits.aleo
.
§fn get_credits_verifying_key(
function_name: String
) -> Result<&'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>, Error>
fn get_credits_verifying_key( function_name: String ) -> Result<&'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>, Error>
Returns the verifying key for the given function name in credits.aleo
.
§fn inclusion_proving_key(
) -> &'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, MarlinHidingMode>>
fn inclusion_proving_key( ) -> &'static Arc<CircuitProvingKey<<Testnet3 as Environment>::PairingCurve, MarlinHidingMode>>
Returns the proving key
for the inclusion circuit.
§fn inclusion_verifying_key(
) -> &'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>
fn inclusion_verifying_key( ) -> &'static Arc<CircuitVerifyingKey<<Testnet3 as Environment>::PairingCurve>>
Returns the verifying key
for the inclusion circuit.
§fn g_scalar_multiply(scalar: &Scalar<Testnet3>) -> Group<Testnet3>
fn g_scalar_multiply(scalar: &Scalar<Testnet3>) -> Group<Testnet3>
Returns the scalar multiplication on the generator G
.
§fn marlin_universal_prover(
) -> &'static UniversalProver<<Testnet3 as Environment>::PairingCurve>
fn marlin_universal_prover( ) -> &'static UniversalProver<<Testnet3 as Environment>::PairingCurve>
Returns the Marlin universal prover.
§fn marlin_universal_verifier(
) -> &'static UniversalVerifier<<Testnet3 as Environment>::PairingCurve>
fn marlin_universal_verifier( ) -> &'static UniversalVerifier<<Testnet3 as Environment>::PairingCurve>
Returns the Marlin universal verifier.
§fn marlin_fs_parameters(
) -> &'static <PoseidonSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2, 1> as AlgebraicSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2>>::Parameters
fn marlin_fs_parameters( ) -> &'static <PoseidonSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2, 1> as AlgebraicSponge<<<Testnet3 as Environment>::PairingCurve as PairingEngine>::Fq, 2>>::Parameters
Returns the sponge parameters used for the sponge in the Marlin SNARK.
§fn encryption_domain() -> Field<Testnet3>
fn encryption_domain() -> Field<Testnet3>
Returns the encryption domain as a constant field element.
§fn graph_key_domain() -> Field<Testnet3>
fn graph_key_domain() -> Field<Testnet3>
Returns the graph key domain as a constant field element.
§fn serial_number_domain() -> Field<Testnet3>
fn serial_number_domain() -> Field<Testnet3>
Returns the serial number domain as a constant field element.
§fn commit_bhp256(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_bhp256( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 256-bits and randomizer.
§fn commit_bhp512(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_bhp512( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 512-bits and randomizer.
§fn commit_bhp768(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_bhp768( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 768-bits and randomizer.
§fn commit_bhp1024(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_bhp1024( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 1024-bits and randomizer.
§fn commit_ped64(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_ped64( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a Pedersen commitment for the given (up to) 64-bit input and randomizer.
§fn commit_ped128(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Field<Testnet3>, Error>
fn commit_ped128( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Field<Testnet3>, Error>
Returns a Pedersen commitment for the given (up to) 128-bit input and randomizer.
§fn commit_to_group_bhp256(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_bhp256( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 256-bits and randomizer.
§fn commit_to_group_bhp512(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_bhp512( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 512-bits and randomizer.
§fn commit_to_group_bhp768(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_bhp768( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 768-bits and randomizer.
§fn commit_to_group_bhp1024(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_bhp1024( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a BHP commitment with an input hasher of 1024-bits and randomizer.
§fn commit_to_group_ped64(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_ped64( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a Pedersen commitment for the given (up to) 64-bit input and randomizer.
§fn commit_to_group_ped128(
input: &[bool],
randomizer: &Scalar<Testnet3>
) -> Result<Group<Testnet3>, Error>
fn commit_to_group_ped128( input: &[bool], randomizer: &Scalar<Testnet3> ) -> Result<Group<Testnet3>, Error>
Returns a Pedersen commitment for the given (up to) 128-bit input and randomizer.
§fn hash_bhp256(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_bhp256(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the BHP hash with an input hasher of 256-bits.
§fn hash_bhp512(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_bhp512(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the BHP hash with an input hasher of 512-bits.
§fn hash_bhp768(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_bhp768(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the BHP hash with an input hasher of 768-bits.
§fn hash_bhp1024(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_bhp1024(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the BHP hash with an input hasher of 1024-bits.
§fn hash_ped64(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_ped64(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the Pedersen hash for a given (up to) 64-bit input.
§fn hash_ped128(input: &[bool]) -> Result<Field<Testnet3>, Error>
fn hash_ped128(input: &[bool]) -> Result<Field<Testnet3>, Error>
Returns the Pedersen hash for a given (up to) 128-bit input.
§fn hash_psd2(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
fn hash_psd2(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 2.
§fn hash_psd4(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
fn hash_psd4(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 4.
§fn hash_psd8(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
fn hash_psd8(input: &[Field<Testnet3>]) -> Result<Field<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 8.
§fn hash_many_psd2(
input: &[Field<Testnet3>],
num_outputs: u16
) -> Vec<Field<Testnet3>, Global>
fn hash_many_psd2( input: &[Field<Testnet3>], num_outputs: u16 ) -> Vec<Field<Testnet3>, Global>
Returns the extended Poseidon hash with an input rate of 2.
§fn hash_many_psd4(
input: &[Field<Testnet3>],
num_outputs: u16
) -> Vec<Field<Testnet3>, Global>
fn hash_many_psd4( input: &[Field<Testnet3>], num_outputs: u16 ) -> Vec<Field<Testnet3>, Global>
Returns the extended Poseidon hash with an input rate of 4.
§fn hash_many_psd8(
input: &[Field<Testnet3>],
num_outputs: u16
) -> Vec<Field<Testnet3>, Global>
fn hash_many_psd8( input: &[Field<Testnet3>], num_outputs: u16 ) -> Vec<Field<Testnet3>, Global>
Returns the extended Poseidon hash with an input rate of 8.
§fn hash_to_group_bhp256(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_bhp256(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the BHP hash with an input hasher of 256-bits.
§fn hash_to_group_bhp512(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_bhp512(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the BHP hash with an input hasher of 512-bits.
§fn hash_to_group_bhp768(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_bhp768(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the BHP hash with an input hasher of 768-bits.
§fn hash_to_group_bhp1024(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_bhp1024(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the BHP hash with an input hasher of 1024-bits.
§fn hash_to_group_ped64(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_ped64(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the Pedersen hash for a given (up to) 64-bit input.
§fn hash_to_group_ped128(input: &[bool]) -> Result<Group<Testnet3>, Error>
fn hash_to_group_ped128(input: &[bool]) -> Result<Group<Testnet3>, Error>
Returns the Pedersen hash for a given (up to) 128-bit input.
§fn hash_to_group_psd2(
input: &[Field<Testnet3>]
) -> Result<Group<Testnet3>, Error>
fn hash_to_group_psd2( input: &[Field<Testnet3>] ) -> Result<Group<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 2 on the affine curve.
§fn hash_to_group_psd4(
input: &[Field<Testnet3>]
) -> Result<Group<Testnet3>, Error>
fn hash_to_group_psd4( input: &[Field<Testnet3>] ) -> Result<Group<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 4 on the affine curve.
§fn hash_to_group_psd8(
input: &[Field<Testnet3>]
) -> Result<Group<Testnet3>, Error>
fn hash_to_group_psd8( input: &[Field<Testnet3>] ) -> Result<Group<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 8 on the affine curve.
§fn hash_to_scalar_psd2(
input: &[Field<Testnet3>]
) -> Result<Scalar<Testnet3>, Error>
fn hash_to_scalar_psd2( input: &[Field<Testnet3>] ) -> Result<Scalar<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 2 on the scalar field.
§fn hash_to_scalar_psd4(
input: &[Field<Testnet3>]
) -> Result<Scalar<Testnet3>, Error>
fn hash_to_scalar_psd4( input: &[Field<Testnet3>] ) -> Result<Scalar<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 4 on the scalar field.
§fn hash_to_scalar_psd8(
input: &[Field<Testnet3>]
) -> Result<Scalar<Testnet3>, Error>
fn hash_to_scalar_psd8( input: &[Field<Testnet3>] ) -> Result<Scalar<Testnet3>, Error>
Returns the Poseidon hash with an input rate of 8 on the scalar field.
§fn merkle_tree_bhp<const DEPTH: u8>(
leaves: &[Vec<bool, Global>]
) -> Result<MerkleTree<Testnet3, BHP<Testnet3, 8, 54>, BHP<Testnet3, 6, 43>, DEPTH>, Error>
fn merkle_tree_bhp<const DEPTH: u8>( leaves: &[Vec<bool, Global>] ) -> Result<MerkleTree<Testnet3, BHP<Testnet3, 8, 54>, BHP<Testnet3, 6, 43>, DEPTH>, Error>
Returns a Merkle tree with a BHP leaf hasher of 1024-bits and a BHP path hasher of 512-bits.
§fn merkle_tree_psd<const DEPTH: u8>(
leaves: &[Vec<Field<Testnet3>, Global>]
) -> Result<MerkleTree<Testnet3, Poseidon<Testnet3, 4>, Poseidon<Testnet3, 2>, DEPTH>, Error>
fn merkle_tree_psd<const DEPTH: u8>( leaves: &[Vec<Field<Testnet3>, Global>] ) -> Result<MerkleTree<Testnet3, Poseidon<Testnet3, 4>, Poseidon<Testnet3, 2>, DEPTH>, Error>
Returns a Merkle tree with a Poseidon leaf hasher with input rate of 4 and a Poseidon path hasher with input rate of 2.
§fn verify_merkle_path_bhp<const DEPTH: u8>(
path: &MerklePath<Testnet3, DEPTH>,
root: &Field<Testnet3>,
leaf: &Vec<bool, Global>
) -> bool
fn verify_merkle_path_bhp<const DEPTH: u8>( path: &MerklePath<Testnet3, DEPTH>, root: &Field<Testnet3>, leaf: &Vec<bool, Global> ) -> bool
Returns true
if the given Merkle path is valid for the given root and leaf.
§fn verify_merkle_path_psd<const DEPTH: u8>(
path: &MerklePath<Testnet3, DEPTH>,
root: &Field<Testnet3>,
leaf: &Vec<Field<Testnet3>, Global>
) -> bool
fn verify_merkle_path_psd<const DEPTH: u8>( path: &MerklePath<Testnet3, DEPTH>, root: &Field<Testnet3>, leaf: &Vec<Field<Testnet3>, Global> ) -> bool
Returns true
if the given Merkle path is valid for the given root and leaf.
§const GENESIS_TIMESTAMP: i64 = 1_680_307_200i64
const GENESIS_TIMESTAMP: i64 = 1_680_307_200i64
§const GENESIS_COINBASE_TARGET: u64 = 4_095u64
const GENESIS_COINBASE_TARGET: u64 = 4_095u64
§const GENESIS_PROOF_TARGET: u64 = 32u64
const GENESIS_PROOF_TARGET: u64 = 32u64
§const STARTING_SUPPLY: u64 = 1_500_000_000_000_000u64
const STARTING_SUPPLY: u64 = 1_500_000_000_000_000u64
§const DEPLOYMENT_FEE_MULTIPLIER: u64 = 1_000u64
const DEPLOYMENT_FEE_MULTIPLIER: u64 = 1_000u64
§const MAX_FEE: u64 = 1_000_000_000_000_000u64
const MAX_FEE: u64 = 1_000_000_000_000_000u64
§const ANCHOR_TIME: u16 = 25u16
const ANCHOR_TIME: u16 = 25u16
§const COINBASE_PUZZLE_DEGREE: u32 = 8_191u32
const COINBASE_PUZZLE_DEGREE: u32 = 8_191u32
§const MAX_PROVER_SOLUTIONS: usize = 256usize
const MAX_PROVER_SOLUTIONS: usize = 256usize
§const NUM_BLOCKS_PER_EPOCH: u32 = 256u32
const NUM_BLOCKS_PER_EPOCH: u32 = 256u32
§const MAX_DATA_ENTRIES: usize = 32usize
const MAX_DATA_ENTRIES: usize = 32usize
§const MAX_DATA_DEPTH: usize = 32usize
const MAX_DATA_DEPTH: usize = 32usize
§const MAX_DATA_SIZE_IN_FIELDS: u32 = (128 * 1024 * 8 / Field<Self>::SIZE_IN_DATA_BITS) as u32
const MAX_DATA_SIZE_IN_FIELDS: u32 = (128 * 1024 * 8 / Field<Self>::SIZE_IN_DATA_BITS) as u32
§const MIN_STRUCT_ENTRIES: usize = 1usize
const MIN_STRUCT_ENTRIES: usize = 1usize
§const MAX_STRUCT_ENTRIES: usize = Self::MAX_DATA_ENTRIES
const MAX_STRUCT_ENTRIES: usize = Self::MAX_DATA_ENTRIES
§const MIN_RECORD_ENTRIES: usize = 1usize
const MIN_RECORD_ENTRIES: usize = 1usize
§const MAX_RECORD_ENTRIES: usize = Self::MIN_RECORD_ENTRIES.saturating_add(Self::MAX_DATA_ENTRIES)
const MAX_RECORD_ENTRIES: usize = Self::MIN_RECORD_ENTRIES.saturating_add(Self::MAX_DATA_ENTRIES)
§const MAX_MAPPINGS: usize = 31usize
const MAX_MAPPINGS: usize = 31usize
§const MAX_FUNCTIONS: usize = 31usize
const MAX_FUNCTIONS: usize = 31usize
§const MAX_OPERANDS: usize = Self::MAX_INPUTS
const MAX_OPERANDS: usize = Self::MAX_INPUTS
§const MAX_INSTRUCTIONS: usize = 65_535usize
const MAX_INSTRUCTIONS: usize = 65_535usize
§const MAX_COMMANDS: usize = 65_535usize
const MAX_COMMANDS: usize = 65_535usize
§const MAX_WRITES: u16 = 10u16
const MAX_WRITES: u16 = 10u16
§const MAX_INPUTS: usize = 16usize
const MAX_INPUTS: usize = 16usize
§const MAX_OUTPUTS: usize = 16usize
const MAX_OUTPUTS: usize = 16usize
§impl Serialize for Testnet3
impl Serialize for Testnet3
§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,
impl Copy for Testnet3
impl Eq for Testnet3
impl StructuralEq for Testnet3
impl StructuralPartialEq for Testnet3
Auto Trait Implementations§
impl RefUnwindSafe for Testnet3
impl Send for Testnet3
impl Sync for Testnet3
impl Unpin for Testnet3
impl UnwindSafe for Testnet3
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
§impl<'de, T> DeserializeExt<'de> for Twhere
T: DeserializeOwned,
impl<'de, T> DeserializeExt<'de> for Twhere T: DeserializeOwned,
fn take_from_value<D>( value: &mut Value, field: &str ) -> Result<T, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.