pub struct RateLimitNFTInstance<P, N = Ethereum> { /* private fields */ }
Expand description
A RateLimitNFT
instance.
Contains type-safe methods for interacting with an on-chain instance of the
RateLimitNFT
contract located at a given address
, using a given
provider P
.
If the contract bytecode is available (see the sol!
documentation on how to provide it), the deploy
and deploy_builder
methods can
be used to deploy a new instance of the contract.
See the module-level documentation for all the available methods.
Implementations§
Source§impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Instantiation and getters/setters.
impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Instantiation and getters/setters.
Sourcepub const fn new(address: Address, provider: P) -> Self
pub const fn new(address: Address, provider: P) -> Self
Creates a new wrapper around an on-chain RateLimitNFT
contract instance.
See the wrapper’s documentation for more details.
Sourcepub async fn deploy(provider: P) -> Result<RateLimitNFTInstance<P, N>>
pub async fn deploy(provider: P) -> Result<RateLimitNFTInstance<P, N>>
Deploys this contract using the given provider
and constructor arguments, if any.
Returns a new instance of the contract, if the deployment was successful.
For more fine-grained control over the deployment process, use deploy_builder
instead.
Sourcepub fn deploy_builder(provider: P) -> RawCallBuilder<P, N>
pub fn deploy_builder(provider: P) -> RawCallBuilder<P, N>
Creates a RawCallBuilder
for deploying this contract using the given provider
and constructor arguments, if any.
This is a simple wrapper around creating a RawCallBuilder
with the data set to
the bytecode concatenated with the constructor’s ABI-encoded arguments.
Sourcepub fn set_address(&mut self, address: Address)
pub fn set_address(&mut self, address: Address)
Sets the address.
Source§impl<P: Clone, N> RateLimitNFTInstance<&P, N>
impl<P: Clone, N> RateLimitNFTInstance<&P, N>
Sourcepub fn with_cloned_provider(self) -> RateLimitNFTInstance<P, N>
pub fn with_cloned_provider(self) -> RateLimitNFTInstance<P, N>
Clones the provider and returns a new instance with the cloned provider.
Source§impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Function calls.
impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Function calls.
Sourcepub fn call_builder<C: SolCall>(&self, call: &C) -> SolCallBuilder<&P, C, N>
pub fn call_builder<C: SolCall>(&self, call: &C) -> SolCallBuilder<&P, C, N>
Creates a new call builder using this contract instance’s provider and address.
Note that the call can be any function call, not just those defined in this contract. Prefer using the other methods for building type-safe contract calls.
Sourcepub fn RLIHolderRateLimitWindowSeconds(
&self,
) -> SolCallBuilder<&P, RLIHolderRateLimitWindowSecondsCall, N>
pub fn RLIHolderRateLimitWindowSeconds( &self, ) -> SolCallBuilder<&P, RLIHolderRateLimitWindowSecondsCall, N>
Creates a new call builder for the [RLIHolderRateLimitWindowSeconds
] function.
Sourcepub fn additionalRequestsPerKilosecondCost(
&self,
) -> SolCallBuilder<&P, additionalRequestsPerKilosecondCostCall, N>
pub fn additionalRequestsPerKilosecondCost( &self, ) -> SolCallBuilder<&P, additionalRequestsPerKilosecondCostCall, N>
Creates a new call builder for the [additionalRequestsPerKilosecondCost
] function.
Sourcepub fn approve(
&self,
to: Address,
tokenId: U256,
) -> SolCallBuilder<&P, approveCall, N>
pub fn approve( &self, to: Address, tokenId: U256, ) -> SolCallBuilder<&P, approveCall, N>
Creates a new call builder for the [approve
] function.
Sourcepub fn balanceOf(&self, owner: Address) -> SolCallBuilder<&P, balanceOfCall, N>
pub fn balanceOf(&self, owner: Address) -> SolCallBuilder<&P, balanceOfCall, N>
Creates a new call builder for the [balanceOf
] function.
Sourcepub fn burn(&self, tokenId: U256) -> SolCallBuilder<&P, burnCall, N>
pub fn burn(&self, tokenId: U256) -> SolCallBuilder<&P, burnCall, N>
Creates a new call builder for the [burn
] function.
Sourcepub fn calculateCost(
&self,
requestsPerKilosecond: U256,
expiresAt: U256,
) -> SolCallBuilder<&P, calculateCostCall, N>
pub fn calculateCost( &self, requestsPerKilosecond: U256, expiresAt: U256, ) -> SolCallBuilder<&P, calculateCostCall, N>
Creates a new call builder for the [calculateCost
] function.
Sourcepub fn calculateRequestsPerKilosecond(
&self,
payingAmount: U256,
expiresAt: U256,
) -> SolCallBuilder<&P, calculateRequestsPerKilosecondCall, N>
pub fn calculateRequestsPerKilosecond( &self, payingAmount: U256, expiresAt: U256, ) -> SolCallBuilder<&P, calculateRequestsPerKilosecondCall, N>
Creates a new call builder for the [calculateRequestsPerKilosecond
] function.
Sourcepub fn capacity(&self, tokenId: U256) -> SolCallBuilder<&P, capacityCall, N>
pub fn capacity(&self, tokenId: U256) -> SolCallBuilder<&P, capacityCall, N>
Creates a new call builder for the [capacity
] function.
Sourcepub fn checkBelowMaxRequestsPerKilosecond(
&self,
requestedRequestsPerKilosecond: U256,
) -> SolCallBuilder<&P, checkBelowMaxRequestsPerKilosecondCall, N>
pub fn checkBelowMaxRequestsPerKilosecond( &self, requestedRequestsPerKilosecond: U256, ) -> SolCallBuilder<&P, checkBelowMaxRequestsPerKilosecondCall, N>
Creates a new call builder for the [checkBelowMaxRequestsPerKilosecond
] function.
Sourcepub fn currentSoldRequestsPerKilosecond(
&self,
) -> SolCallBuilder<&P, currentSoldRequestsPerKilosecondCall, N>
pub fn currentSoldRequestsPerKilosecond( &self, ) -> SolCallBuilder<&P, currentSoldRequestsPerKilosecondCall, N>
Creates a new call builder for the [currentSoldRequestsPerKilosecond
] function.
Sourcepub fn defaultRateLimitWindowSeconds(
&self,
) -> SolCallBuilder<&P, defaultRateLimitWindowSecondsCall, N>
pub fn defaultRateLimitWindowSeconds( &self, ) -> SolCallBuilder<&P, defaultRateLimitWindowSecondsCall, N>
Creates a new call builder for the [defaultRateLimitWindowSeconds
] function.
Sourcepub fn diamondCut(
&self,
_diamondCut: Vec<<FacetCut as SolType>::RustType>,
_init: Address,
_calldata: Bytes,
) -> SolCallBuilder<&P, diamondCutCall, N>
pub fn diamondCut( &self, _diamondCut: Vec<<FacetCut as SolType>::RustType>, _init: Address, _calldata: Bytes, ) -> SolCallBuilder<&P, diamondCutCall, N>
Creates a new call builder for the [diamondCut
] function.
Sourcepub fn facetAddress(
&self,
_functionSelector: FixedBytes<4>,
) -> SolCallBuilder<&P, facetAddressCall, N>
pub fn facetAddress( &self, _functionSelector: FixedBytes<4>, ) -> SolCallBuilder<&P, facetAddressCall, N>
Creates a new call builder for the [facetAddress
] function.
Sourcepub fn facetAddresses(&self) -> SolCallBuilder<&P, facetAddressesCall, N>
pub fn facetAddresses(&self) -> SolCallBuilder<&P, facetAddressesCall, N>
Creates a new call builder for the [facetAddresses
] function.
Sourcepub fn facetFunctionSelectors(
&self,
_facet: Address,
) -> SolCallBuilder<&P, facetFunctionSelectorsCall, N>
pub fn facetFunctionSelectors( &self, _facet: Address, ) -> SolCallBuilder<&P, facetFunctionSelectorsCall, N>
Creates a new call builder for the [facetFunctionSelectors
] function.
Sourcepub fn facets(&self) -> SolCallBuilder<&P, facetsCall, N>
pub fn facets(&self) -> SolCallBuilder<&P, facetsCall, N>
Creates a new call builder for the [facets
] function.
Sourcepub fn freeMint(
&self,
expiresAt: U256,
requestsPerKilosecond: U256,
msgHash: FixedBytes<32>,
v: u8,
r: FixedBytes<32>,
sVal: FixedBytes<32>,
) -> SolCallBuilder<&P, freeMintCall, N>
pub fn freeMint( &self, expiresAt: U256, requestsPerKilosecond: U256, msgHash: FixedBytes<32>, v: u8, r: FixedBytes<32>, sVal: FixedBytes<32>, ) -> SolCallBuilder<&P, freeMintCall, N>
Creates a new call builder for the [freeMint
] function.
Sourcepub fn freeMintSigTest(
&self,
expiresAt: U256,
requestsPerKilosecond: U256,
msgHash: FixedBytes<32>,
v: u8,
r: FixedBytes<32>,
sVal: FixedBytes<32>,
) -> SolCallBuilder<&P, freeMintSigTestCall, N>
pub fn freeMintSigTest( &self, expiresAt: U256, requestsPerKilosecond: U256, msgHash: FixedBytes<32>, v: u8, r: FixedBytes<32>, sVal: FixedBytes<32>, ) -> SolCallBuilder<&P, freeMintSigTestCall, N>
Creates a new call builder for the [freeMintSigTest
] function.
Sourcepub fn freeMintSigner(&self) -> SolCallBuilder<&P, freeMintSignerCall, N>
pub fn freeMintSigner(&self) -> SolCallBuilder<&P, freeMintSignerCall, N>
Creates a new call builder for the [freeMintSigner
] function.
Sourcepub fn freeRequestsPerRateLimitWindow(
&self,
) -> SolCallBuilder<&P, freeRequestsPerRateLimitWindowCall, N>
pub fn freeRequestsPerRateLimitWindow( &self, ) -> SolCallBuilder<&P, freeRequestsPerRateLimitWindowCall, N>
Creates a new call builder for the [freeRequestsPerRateLimitWindow
] function.
Sourcepub fn getApproved(
&self,
tokenId: U256,
) -> SolCallBuilder<&P, getApprovedCall, N>
pub fn getApproved( &self, tokenId: U256, ) -> SolCallBuilder<&P, getApprovedCall, N>
Creates a new call builder for the [getApproved
] function.
Sourcepub fn initialize(&self) -> SolCallBuilder<&P, initializeCall, N>
pub fn initialize(&self) -> SolCallBuilder<&P, initializeCall, N>
Creates a new call builder for the [initialize
] function.
Sourcepub fn isApprovedForAll(
&self,
owner: Address,
operator: Address,
) -> SolCallBuilder<&P, isApprovedForAllCall, N>
pub fn isApprovedForAll( &self, owner: Address, operator: Address, ) -> SolCallBuilder<&P, isApprovedForAllCall, N>
Creates a new call builder for the [isApprovedForAll
] function.
Sourcepub fn isExpired(&self, tokenId: U256) -> SolCallBuilder<&P, isExpiredCall, N>
pub fn isExpired(&self, tokenId: U256) -> SolCallBuilder<&P, isExpiredCall, N>
Creates a new call builder for the [isExpired
] function.
Sourcepub fn maxExpirationSeconds(
&self,
) -> SolCallBuilder<&P, maxExpirationSecondsCall, N>
pub fn maxExpirationSeconds( &self, ) -> SolCallBuilder<&P, maxExpirationSecondsCall, N>
Creates a new call builder for the [maxExpirationSeconds
] function.
Sourcepub fn maxRequestsPerKilosecond(
&self,
) -> SolCallBuilder<&P, maxRequestsPerKilosecondCall, N>
pub fn maxRequestsPerKilosecond( &self, ) -> SolCallBuilder<&P, maxRequestsPerKilosecondCall, N>
Creates a new call builder for the [maxRequestsPerKilosecond
] function.
Sourcepub fn mint(&self, expiresAt: U256) -> SolCallBuilder<&P, mintCall, N>
pub fn mint(&self, expiresAt: U256) -> SolCallBuilder<&P, mintCall, N>
Creates a new call builder for the [mint
] function.
Sourcepub fn name(&self) -> SolCallBuilder<&P, nameCall, N>
pub fn name(&self) -> SolCallBuilder<&P, nameCall, N>
Creates a new call builder for the [name
] function.
Sourcepub fn owner(&self) -> SolCallBuilder<&P, ownerCall, N>
pub fn owner(&self) -> SolCallBuilder<&P, ownerCall, N>
Creates a new call builder for the [owner
] function.
Sourcepub fn ownerOf(&self, tokenId: U256) -> SolCallBuilder<&P, ownerOfCall, N>
pub fn ownerOf(&self, tokenId: U256) -> SolCallBuilder<&P, ownerOfCall, N>
Creates a new call builder for the [ownerOf
] function.
Sourcepub fn prefixed(
&self,
hash: FixedBytes<32>,
) -> SolCallBuilder<&P, prefixedCall, N>
pub fn prefixed( &self, hash: FixedBytes<32>, ) -> SolCallBuilder<&P, prefixedCall, N>
Creates a new call builder for the [prefixed
] function.
Sourcepub fn pruneExpired(
&self,
owner: Address,
) -> SolCallBuilder<&P, pruneExpiredCall, N>
pub fn pruneExpired( &self, owner: Address, ) -> SolCallBuilder<&P, pruneExpiredCall, N>
Creates a new call builder for the [pruneExpired
] function.
Sourcepub fn redeemedFreeMints(
&self,
msgHash: FixedBytes<32>,
) -> SolCallBuilder<&P, redeemedFreeMintsCall, N>
pub fn redeemedFreeMints( &self, msgHash: FixedBytes<32>, ) -> SolCallBuilder<&P, redeemedFreeMintsCall, N>
Creates a new call builder for the [redeemedFreeMints
] function.
Sourcepub fn safeTransferFrom_0(
&self,
from: Address,
to: Address,
tokenId: U256,
) -> SolCallBuilder<&P, safeTransferFrom_0Call, N>
pub fn safeTransferFrom_0( &self, from: Address, to: Address, tokenId: U256, ) -> SolCallBuilder<&P, safeTransferFrom_0Call, N>
Creates a new call builder for the [safeTransferFrom_0
] function.
Sourcepub fn safeTransferFrom_1(
&self,
from: Address,
to: Address,
tokenId: U256,
data: Bytes,
) -> SolCallBuilder<&P, safeTransferFrom_1Call, N>
pub fn safeTransferFrom_1( &self, from: Address, to: Address, tokenId: U256, data: Bytes, ) -> SolCallBuilder<&P, safeTransferFrom_1Call, N>
Creates a new call builder for the [safeTransferFrom_1
] function.
Sourcepub fn setAdditionalRequestsPerKilosecondCost(
&self,
newAdditionalRequestsPerKilosecondCost: U256,
) -> SolCallBuilder<&P, setAdditionalRequestsPerKilosecondCostCall, N>
pub fn setAdditionalRequestsPerKilosecondCost( &self, newAdditionalRequestsPerKilosecondCost: U256, ) -> SolCallBuilder<&P, setAdditionalRequestsPerKilosecondCostCall, N>
Creates a new call builder for the [setAdditionalRequestsPerKilosecondCost
] function.
Sourcepub fn setApprovalForAll(
&self,
operator: Address,
approved: bool,
) -> SolCallBuilder<&P, setApprovalForAllCall, N>
pub fn setApprovalForAll( &self, operator: Address, approved: bool, ) -> SolCallBuilder<&P, setApprovalForAllCall, N>
Creates a new call builder for the [setApprovalForAll
] function.
Sourcepub fn setFreeMintSigner(
&self,
newFreeMintSigner: Address,
) -> SolCallBuilder<&P, setFreeMintSignerCall, N>
pub fn setFreeMintSigner( &self, newFreeMintSigner: Address, ) -> SolCallBuilder<&P, setFreeMintSignerCall, N>
Creates a new call builder for the [setFreeMintSigner
] function.
Sourcepub fn setFreeRequestsPerRateLimitWindow(
&self,
newFreeRequestsPerRateLimitWindow: U256,
) -> SolCallBuilder<&P, setFreeRequestsPerRateLimitWindowCall, N>
pub fn setFreeRequestsPerRateLimitWindow( &self, newFreeRequestsPerRateLimitWindow: U256, ) -> SolCallBuilder<&P, setFreeRequestsPerRateLimitWindowCall, N>
Creates a new call builder for the [setFreeRequestsPerRateLimitWindow
] function.
Sourcepub fn setMaxExpirationSeconds(
&self,
newMaxExpirationSeconds: U256,
) -> SolCallBuilder<&P, setMaxExpirationSecondsCall, N>
pub fn setMaxExpirationSeconds( &self, newMaxExpirationSeconds: U256, ) -> SolCallBuilder<&P, setMaxExpirationSecondsCall, N>
Creates a new call builder for the [setMaxExpirationSeconds
] function.
Sourcepub fn setMaxRequestsPerKilosecond(
&self,
newMaxRequestsPerKilosecond: U256,
) -> SolCallBuilder<&P, setMaxRequestsPerKilosecondCall, N>
pub fn setMaxRequestsPerKilosecond( &self, newMaxRequestsPerKilosecond: U256, ) -> SolCallBuilder<&P, setMaxRequestsPerKilosecondCall, N>
Creates a new call builder for the [setMaxRequestsPerKilosecond
] function.
Sourcepub fn setRLIHolderRateLimitWindowSeconds(
&self,
newRLIHolderRateLimitWindowSeconds: U256,
) -> SolCallBuilder<&P, setRLIHolderRateLimitWindowSecondsCall, N>
pub fn setRLIHolderRateLimitWindowSeconds( &self, newRLIHolderRateLimitWindowSeconds: U256, ) -> SolCallBuilder<&P, setRLIHolderRateLimitWindowSecondsCall, N>
Creates a new call builder for the [setRLIHolderRateLimitWindowSeconds
] function.
Sourcepub fn setRateLimitWindowSeconds(
&self,
newRateLimitWindowSeconds: U256,
) -> SolCallBuilder<&P, setRateLimitWindowSecondsCall, N>
pub fn setRateLimitWindowSeconds( &self, newRateLimitWindowSeconds: U256, ) -> SolCallBuilder<&P, setRateLimitWindowSecondsCall, N>
Creates a new call builder for the [setRateLimitWindowSeconds
] function.
Sourcepub fn supportsInterface(
&self,
interfaceId: FixedBytes<4>,
) -> SolCallBuilder<&P, supportsInterfaceCall, N>
pub fn supportsInterface( &self, interfaceId: FixedBytes<4>, ) -> SolCallBuilder<&P, supportsInterfaceCall, N>
Creates a new call builder for the [supportsInterface
] function.
Sourcepub fn symbol(&self) -> SolCallBuilder<&P, symbolCall, N>
pub fn symbol(&self) -> SolCallBuilder<&P, symbolCall, N>
Creates a new call builder for the [symbol
] function.
Sourcepub fn tokenByIndex(
&self,
index: U256,
) -> SolCallBuilder<&P, tokenByIndexCall, N>
pub fn tokenByIndex( &self, index: U256, ) -> SolCallBuilder<&P, tokenByIndexCall, N>
Creates a new call builder for the [tokenByIndex
] function.
Sourcepub fn tokenIdCounter(&self) -> SolCallBuilder<&P, tokenIdCounterCall, N>
pub fn tokenIdCounter(&self) -> SolCallBuilder<&P, tokenIdCounterCall, N>
Creates a new call builder for the [tokenIdCounter
] function.
Sourcepub fn tokenOfOwnerByIndex(
&self,
owner: Address,
index: U256,
) -> SolCallBuilder<&P, tokenOfOwnerByIndexCall, N>
pub fn tokenOfOwnerByIndex( &self, owner: Address, index: U256, ) -> SolCallBuilder<&P, tokenOfOwnerByIndexCall, N>
Creates a new call builder for the [tokenOfOwnerByIndex
] function.
Sourcepub fn tokenSVG(&self, tokenId: U256) -> SolCallBuilder<&P, tokenSVGCall, N>
pub fn tokenSVG(&self, tokenId: U256) -> SolCallBuilder<&P, tokenSVGCall, N>
Creates a new call builder for the [tokenSVG
] function.
Sourcepub fn tokenURI(&self, tokenId: U256) -> SolCallBuilder<&P, tokenURICall, N>
pub fn tokenURI(&self, tokenId: U256) -> SolCallBuilder<&P, tokenURICall, N>
Creates a new call builder for the [tokenURI
] function.
Sourcepub fn totalSoldRequestsPerKilosecondByExpirationTime(
&self,
expiresAt: U256,
) -> SolCallBuilder<&P, totalSoldRequestsPerKilosecondByExpirationTimeCall, N>
pub fn totalSoldRequestsPerKilosecondByExpirationTime( &self, expiresAt: U256, ) -> SolCallBuilder<&P, totalSoldRequestsPerKilosecondByExpirationTimeCall, N>
Creates a new call builder for the [totalSoldRequestsPerKilosecondByExpirationTime
] function.
Sourcepub fn totalSupply(&self) -> SolCallBuilder<&P, totalSupplyCall, N>
pub fn totalSupply(&self) -> SolCallBuilder<&P, totalSupplyCall, N>
Creates a new call builder for the [totalSupply
] function.
Sourcepub fn transferFrom(
&self,
from: Address,
to: Address,
tokenId: U256,
) -> SolCallBuilder<&P, transferFromCall, N>
pub fn transferFrom( &self, from: Address, to: Address, tokenId: U256, ) -> SolCallBuilder<&P, transferFromCall, N>
Creates a new call builder for the [transferFrom
] function.
Sourcepub fn transferOwnership(
&self,
_newOwner: Address,
) -> SolCallBuilder<&P, transferOwnershipCall, N>
pub fn transferOwnership( &self, _newOwner: Address, ) -> SolCallBuilder<&P, transferOwnershipCall, N>
Creates a new call builder for the [transferOwnership
] function.
Sourcepub fn withdraw(&self) -> SolCallBuilder<&P, withdrawCall, N>
pub fn withdraw(&self) -> SolCallBuilder<&P, withdrawCall, N>
Creates a new call builder for the [withdraw
] function.
Source§impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Event filters.
impl<P: Provider<N>, N: Network> RateLimitNFTInstance<P, N>
Event filters.
Sourcepub fn event_filter<E: SolEvent>(&self) -> Event<&P, E, N>
pub fn event_filter<E: SolEvent>(&self) -> Event<&P, E, N>
Creates a new event filter using this contract instance’s provider and address.
Note that the type can be any event, not just those defined in this contract. Prefer using the other methods for building type-safe event filters.
Sourcepub fn AdditionalRequestsPerKilosecondCostSet_filter(
&self,
) -> Event<&P, AdditionalRequestsPerKilosecondCostSet, N>
pub fn AdditionalRequestsPerKilosecondCostSet_filter( &self, ) -> Event<&P, AdditionalRequestsPerKilosecondCostSet, N>
Creates a new event filter for the AdditionalRequestsPerKilosecondCostSet
event.
Sourcepub fn Approval_filter(&self) -> Event<&P, Approval, N>
pub fn Approval_filter(&self) -> Event<&P, Approval, N>
Creates a new event filter for the Approval
event.
Sourcepub fn ApprovalForAll_filter(&self) -> Event<&P, ApprovalForAll, N>
pub fn ApprovalForAll_filter(&self) -> Event<&P, ApprovalForAll, N>
Creates a new event filter for the ApprovalForAll
event.
Sourcepub fn DiamondCut_filter(&self) -> Event<&P, DiamondCut, N>
pub fn DiamondCut_filter(&self) -> Event<&P, DiamondCut, N>
Creates a new event filter for the DiamondCut
event.
Sourcepub fn FreeMintSignerSet_filter(&self) -> Event<&P, FreeMintSignerSet, N>
pub fn FreeMintSignerSet_filter(&self) -> Event<&P, FreeMintSignerSet, N>
Creates a new event filter for the FreeMintSignerSet
event.
Sourcepub fn FreeRequestsPerRateLimitWindowSet_filter(
&self,
) -> Event<&P, FreeRequestsPerRateLimitWindowSet, N>
pub fn FreeRequestsPerRateLimitWindowSet_filter( &self, ) -> Event<&P, FreeRequestsPerRateLimitWindowSet, N>
Creates a new event filter for the FreeRequestsPerRateLimitWindowSet
event.
Sourcepub fn Initialized_filter(&self) -> Event<&P, Initialized, N>
pub fn Initialized_filter(&self) -> Event<&P, Initialized, N>
Creates a new event filter for the Initialized
event.
Sourcepub fn OwnershipTransferred_filter(&self) -> Event<&P, OwnershipTransferred, N>
pub fn OwnershipTransferred_filter(&self) -> Event<&P, OwnershipTransferred, N>
Creates a new event filter for the OwnershipTransferred
event.
Sourcepub fn RLIHolderRateLimitWindowSecondsSet_filter(
&self,
) -> Event<&P, RLIHolderRateLimitWindowSecondsSet, N>
pub fn RLIHolderRateLimitWindowSecondsSet_filter( &self, ) -> Event<&P, RLIHolderRateLimitWindowSecondsSet, N>
Creates a new event filter for the RLIHolderRateLimitWindowSecondsSet
event.
Sourcepub fn RateLimitWindowSecondsSet_filter(
&self,
) -> Event<&P, RateLimitWindowSecondsSet, N>
pub fn RateLimitWindowSecondsSet_filter( &self, ) -> Event<&P, RateLimitWindowSecondsSet, N>
Creates a new event filter for the RateLimitWindowSecondsSet
event.
Trait Implementations§
Source§impl<P: Clone, N: Clone> Clone for RateLimitNFTInstance<P, N>
impl<P: Clone, N: Clone> Clone for RateLimitNFTInstance<P, N>
Source§fn clone(&self) -> RateLimitNFTInstance<P, N>
fn clone(&self) -> RateLimitNFTInstance<P, N>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<P, N> Freeze for RateLimitNFTInstance<P, N>where
P: Freeze,
impl<P, N> RefUnwindSafe for RateLimitNFTInstance<P, N>where
P: RefUnwindSafe,
N: RefUnwindSafe,
impl<P, N> Send for RateLimitNFTInstance<P, N>
impl<P, N> Sync for RateLimitNFTInstance<P, N>
impl<P, N> Unpin for RateLimitNFTInstance<P, N>
impl<P, N> UnwindSafe for RateLimitNFTInstance<P, N>where
P: UnwindSafe,
N: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.