• a2 0.7.0/src/request/payload.rs
    81
        /// Returns an error if serialization fails.
    82
        #[allow(clippy::wrong_self_convention)]
    83
        pub fn to_json_string(mut self) -> Result<String, Error> {
  • abi_stable 0.11.1/src/erased_types/dyn_trait.rs
    1473
            /// to ensure that it is compatible with the functions in it.
    1474
            #[allow(clippy::wrong_self_convention)]
    1475
            pub(super) const fn from_new_ptr(&self, object: P, extra_value: EV) -> Self {
  • abi_stable 0.11.1/src/type_layout/small_types.rs
    81
    #[allow(clippy::wrong_self_convention)]
    82
    impl StartLenConverter<()> {
    89
    #[allow(clippy::wrong_self_convention)]
    90
    impl StartLenConverter<usize> {
    97
    #[allow(clippy::wrong_self_convention)]
    98
    impl StartLenConverter<Range<usize>> {
    107
    #[allow(clippy::wrong_self_convention)]
    108
    impl StartLenConverter<RangeInclusive<usize>> {
    117
    #[allow(clippy::wrong_self_convention)]
    118
    impl StartLenConverter<StartLen> {
  • abi_stable 0.11.1/src/type_layout/tagging.rs
    652
    #[allow(clippy::wrong_self_convention)]
    653
    impl FromLiteral<bool> {
    660
    #[allow(clippy::wrong_self_convention)]
    661
    impl FromLiteral<&'static str> {
    668
    #[allow(clippy::wrong_self_convention)]
    669
    impl FromLiteral<RStr<'static>> {
    676
    #[allow(clippy::wrong_self_convention)]
    677
    impl FromLiteral<i64> {
  • actix-web 4.3.0/src/test/test_request.rs
    86
    #[allow(clippy::wrong_self_convention)]
    87
    impl TestRequest {
  • actori-web 2.0.0/src/test.rs
    320
    #[allow(clippy::wrong_self_convention)]
    321
    impl TestRequest {
  • aedat 1.2.7/src/frame_generated.rs
    83
        #[inline]
    84
        #[allow(clippy::wrong_self_convention)]
    85
        fn from_little_endian(self) -> Self {
  • aedat 1.2.7/src/ioheader_generated.rs
    98
        #[inline]
    99
        #[allow(clippy::wrong_self_convention)]
    100
        fn from_little_endian(self) -> Self {
  • aedat 1.2.7/src/triggers_generated.rs
    118
        #[inline]
    119
        #[allow(clippy::wrong_self_convention)]
    120
        fn from_little_endian(self) -> Self {
  • afe4404 0.2.2/src/measurement_window/low_level.rs
    22
        /// Converts a 'Time' into a tuple of `Time` rounded to the closest actual value and register value.
    23
        #[allow(clippy::wrong_self_convention)]
    24
        pub(crate) fn from_timing(
    46
        /// Converts a register value into a `Time`.
    47
        #[allow(clippy::wrong_self_convention)]
    48
        pub(crate) fn into_timing(&mut self, reg_value: u16) -> Result<Time, AfeError<I2C::Error>> {
  • alexcrichton-cranelift-codegen-meta 0.53.0/src/cdsl/instructions.rs
    260
        #[allow(clippy::wrong_self_convention)]
    261
        pub fn is_terminator(mut self, val: bool) -> Self {
    266
        #[allow(clippy::wrong_self_convention)]
    267
        pub fn is_branch(mut self, val: bool) -> Self {
    272
        #[allow(clippy::wrong_self_convention)]
    273
        pub fn is_indirect_branch(mut self, val: bool) -> Self {
    278
        #[allow(clippy::wrong_self_convention)]
    279
        pub fn is_call(mut self, val: bool) -> Self {
    284
        #[allow(clippy::wrong_self_convention)]
    285
        pub fn is_return(mut self, val: bool) -> Self {
  • alpm 2.2.1/src/list.rs
    297
    {
    298
        #[allow(clippy::wrong_self_convention)]
    299
        pub fn to_list_mut(&self) -> AlpmListMut<'a, T> {
  • alpm 2.2.1/src/types.rs
    520
    impl<'a> PacnewCreatedEvent<'a> {
    521
        #[allow(clippy::wrong_self_convention)]
    522
        pub fn from_noupgrade(&self) -> bool {
  • alpm-ll 3.0.0/src/list.rs
    297
    {
    298
        #[allow(clippy::wrong_self_convention)]
    299
        pub fn to_list_mut(&self) -> AlpmListMut<'a, T> {
  • alpm-ll 3.0.0/src/types.rs
    520
    impl<'a> PacnewCreatedEvent<'a> {
    521
        #[allow(clippy::wrong_self_convention)]
    522
        pub fn from_noupgrade(&self) -> bool {
  • amethyst_physics 0.2.0/src/conversors.rs
    10
        /// Used to convert an amethyst `Vector3` `Quaternion` to the physics `Vector3`.
    11
        #[allow(clippy::wrong_self_convention)]
    12
        pub fn to_physics<N>(v: &Vector3<f32>) -> Vector3<N>
    34
        /// Used to convert an amethyst `f32` `Quaternion` to a generic `Quaternion`.
    35
        #[allow(clippy::wrong_self_convention)]
    36
        pub fn to_physics<N>(r: &Quaternion<f32>) -> Quaternion<N>
    66
        /// Used to convert an amethyst `f32` `Isometry` to the generic `Isometry`.
    67
        #[allow(clippy::wrong_self_convention)]
    68
        pub fn to_physics<N>(t: &Isometry3<f32>) -> Isometry3<N>
  • amitu_base 0.1.3/src/user_status.rs
    9
    impl UserStatus {
    10
        #[allow(clippy::wrong_self_convention)]
    11
        pub fn to_string(_status: Vec<UserStatus>) -> String {
  • amplify 4.0.0-beta.7/src/collection/array.rs
    81
        /// Returns vector representing internal slice data
    82
        #[allow(clippy::wrong_self_convention)]
    83
        #[cfg(any(test, feature = "std", feature = "alloc"))]
  • anchor-client 0.26.0/src/lib.rs
    481
        /// Invokes the `#[state]`'s `new` constructor.
    482
        #[allow(clippy::wrong_self_convention)]
    483
        #[must_use]
  • another-visitor 0.1.0/src/std_impls.rs
    13
    trait AsVisitableMut<'a> {
    14
        #[allow(clippy::wrong_self_convention)]
    15
        fn to_visitable_mut(self) -> &'a mut dyn VisitableMut;
  • aorist_extendr-api 0.0.1/src/wrapper/environment.rs
    56
        /// ```
    57
        #[allow(clippy::wrong_self_convention)]
    58
        pub fn from_pairs<NV>(parent: Environment, names_and_values: NV) -> Self
  • apds9960 0.1.0/src/gesture/reading.rs
    14
        /// Read whether there is valid gesture data available.
    15
        #[allow(clippy::wrong_self_convention)]
    16
        pub fn is_gesture_data_valid(&mut self) -> Result<bool, Error<E>> {
    21
        /// Read whether the gesture data has overflown.
    22
        #[allow(clippy::wrong_self_convention)]
    23
        pub fn has_gesture_data_overflown(&mut self) -> Result<bool, Error<E>> {
  • apds9960 0.1.0/src/light.rs
    125
        /// This is checked internally in the `read_light_*()` methods as well.
    126
        #[allow(clippy::wrong_self_convention)]
    127
        pub fn is_light_data_valid(&mut self) -> Result<bool, Error<E>> {
  • apds9960 0.1.0/src/proximity.rs
    98
        /// This is checked internally in `read_proximity()` as well.
    99
        #[allow(clippy::wrong_self_convention)]
    100
        pub fn is_proximity_data_valid(&mut self) -> Result<bool, Error<E>> {
  • aragog 0.17.0/src/query/comparison.rs
    569
        #[must_use]
    570
        #[allow(clippy::wrong_self_convention)]
    571
        #[deprecated(since = "0.17.0", note = "use `eq_null` instead")]
    638
        #[must_use]
    639
        #[allow(clippy::wrong_self_convention)]
    640
        #[deprecated(since = "0.17.0", note = "use `eq_true` instead")]
    686
        #[must_use]
    687
        #[allow(clippy::wrong_self_convention)]
    688
        #[deprecated(since = "0.17.0", note = "use `eq_false` instead")]
  • arc-swap 1.6.0/src/lib.rs
    172
        // Associated function on purpose, because of deref
    173
        #[allow(clippy::wrong_self_convention)]
    174
        #[inline]
  • ark-api 0.17.0-pre.15/src/api/world/value_converter.rs
    5
        /// Wraps the passed-in value in a `Value` enum.
    6
        #[allow(clippy::wrong_self_convention)]
    7
        fn into_value(value: T) -> Value;
  • arrow-ipc 32.0.0/src/gen/Message.rs
    98
        #[inline]
    99
        #[allow(clippy::wrong_self_convention)]
    100
        fn from_little_endian(v: i8) -> Self {
    196
        #[inline]
    197
        #[allow(clippy::wrong_self_convention)]
    198
        fn from_little_endian(v: i8) -> Self {
    315
        #[inline]
    316
        #[allow(clippy::wrong_self_convention)]
    317
        fn from_little_endian(v: u8) -> Self {
  • arrow-ipc 32.0.0/src/gen/Schema.rs
    118
        #[inline]
    119
        #[allow(clippy::wrong_self_convention)]
    120
        fn from_little_endian(v: i16) -> Self {
    240
        #[inline]
    241
        #[allow(clippy::wrong_self_convention)]
    242
        fn from_little_endian(v: i64) -> Self {
    329
        #[inline]
    330
        #[allow(clippy::wrong_self_convention)]
    331
        fn from_little_endian(v: i16) -> Self {
    421
        #[inline]
    422
        #[allow(clippy::wrong_self_convention)]
    423
        fn from_little_endian(v: i16) -> Self {
    510
        #[inline]
    511
        #[allow(clippy::wrong_self_convention)]
    512
        fn from_little_endian(v: i16) -> Self {
  • arrow-ipc 32.0.0/src/gen/SparseTensor.rs
    99
        #[inline]
    100
        #[allow(clippy::wrong_self_convention)]
    101
        fn from_little_endian(v: i16) -> Self {
    202
        #[inline]
    203
        #[allow(clippy::wrong_self_convention)]
    204
        fn from_little_endian(v: u8) -> Self {
  • as-is 0.0.27/src/lib.rs
    44
        /// [`Is<'a, Self::Is>`]: enum.Is.html
    45
        #[allow(clippy::wrong_self_convention)]
    46
        fn as_is<'a>(self) -> Is<'a, Self::Is>
    184
        /// [`Is::Borrowed`]: enum.Is.html#variant.Borrowed
    185
        #[allow(clippy::wrong_self_convention)]
    186
        fn as_is_mut<'a>(self) -> IsMut<'a, Self::Is>
  • async-backtrace 0.2.2/src/linked_list.rs
    78
        /// Convert the handle to a raw pointer without consuming the handle.
    79
        #[allow(clippy::wrong_self_convention)]
    80
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • async-io-bridge 0.1.0/src/utils.rs
    11
    #[allow(clippy::wrong_self_convention)]
    12
    impl<T: ?Sized> Carrier<T> {
  • async-native-tls 0.4.0/src/lib.rs
    112
            /// The host as string. Consumes self.
    113
            #[allow(clippy::wrong_self_convention)]
    114
            pub fn as_string(self) -> String {
  • atk 0.16.0/src/text_rectangle.rs
    26
        #[inline]
    27
        #[allow(clippy::wrong_self_convention)]
    28
        pub fn to_glib_none_mut(&mut self) -> (*mut ffi::AtkTextRectangle, i32) {
  • augmented_baseview 0.1.0/src/window_info.rs
    76
        #[inline]
    77
        #[allow(clippy::wrong_self_convention)]
    78
        pub fn to_physical(&self, window_info: &WindowInfo) -> PhyPoint {
    100
        #[inline]
    101
        #[allow(clippy::wrong_self_convention)]
    102
        pub fn to_logical(&self, window_info: &WindowInfo) -> Point {
    124
        #[inline]
    125
        #[allow(clippy::wrong_self_convention)]
    126
        pub fn to_physical(&self, window_info: &WindowInfo) -> PhySize {
    148
        #[inline]
    149
        #[allow(clippy::wrong_self_convention)]
    150
        pub fn to_logical(&self, window_info: &WindowInfo) -> Size {
  • av1-grain 0.2.2/src/create.rs
    320
        #[allow(clippy::wrong_self_convention)]
    321
        #[must_use]
  • aws_greengrass_core_rust 0.1.37/src/error.rs
    78
        // Converts the error to an IoError
    79
        #[allow(clippy::wrong_self_convention)]
    80
        pub fn as_ioerror(self) -> IOError {
  • azure-functions 0.11.0/src/send_grid/message_builder.rs
    48
        /// ```
    49
        #[allow(clippy::wrong_self_convention)]
    50
        pub fn to_with_name<T, U>(mut self, email: T, name: U) -> MessageBuilder
    468
        /// ```
    469
        #[allow(clippy::wrong_self_convention)]
    470
        pub fn from_with_name<T, U>(mut self, email: T, name: U) -> MessageBuilder
  • balancer_sdk 0.1.16-alpha/src/generated_contracts/erc20.rs
    1
    # [allow (dead_code)] pub mod erc20 { # [rustfmt :: skip] use ethcontract as ethcontract ; # [doc = "Generated by `ethcontract`"] # [derive (Clone)] pub struct Contract { methods : Methods , } impl Contract { # [doc = r" Retrieves the raw contract instance used to generate the type safe"] # [doc = r" API for this contract."] pub fn raw_contract () -> & 'static self :: ethcontract :: Contract { use self :: ethcontract :: common :: artifact :: truffle :: TruffleLoader ; use self :: ethcontract :: private :: lazy_static ; use self :: ethcontract :: Contract ; lazy_static ! { pub static ref CONTRACT : Contract = { # [allow (unused_mut)] let mut contract = TruffleLoader :: new () . load_contract_from_str ("{\"contractName\":\"ERC20\",\"abi\":[{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"},{\"name\":\"_spender\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"balance\",\"type\":\"uint256\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"constant\":true,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"fallback\"}],\"bytecode\":\"\",\"networks\":{},\"devdoc\":{\"details\":null,\"methods\":{}},\"userdoc\":{\"details\":null,\"methods\":{}}}") . expect ("valid contract JSON") ; contract } ; } & CONTRACT } # [doc = r" Creates a new contract instance with the specified `web3`"] # [doc = r" provider at the given `Address`."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching"] # [doc = r" `Abi` is actually deployed at the given address."] pub fn at < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { Contract :: with_deployment_info (web3 , address , None) } # [doc = r" Creates a new contract instance with the specified `web3` provider with"] # [doc = r" the given `Abi` at the given `Address` and an optional transaction hash."] # [doc = r" This hash is used to retrieve contract related information such as the"] # [doc = r" creation block (which is useful for fetching all historic events)."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching `Abi` is"] # [doc = r" actually deployed at the given address nor that the transaction hash,"] # [doc = r" when provided, is actually for this contract deployment."] pub fn with_deployment_info < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address , deployment_information : Option < ethcontract :: common :: DeploymentInformation > ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { use self :: ethcontract :: Instance ; use self :: ethcontract :: transport :: DynTransport ; use self :: ethcontract :: web3 :: api :: Web3 ; let transport = DynTransport :: new (web3 . transport () . clone ()) ; let web3 = Web3 :: new (transport) ; let abi = Self :: raw_contract () . abi . clone () ; let instance = Instance :: with_deployment_info (web3 , abi , address , deployment_information) ; Contract :: from_raw (instance) } # [doc = r" Creates a contract from a raw instance."] fn from_raw (instance : self :: ethcontract :: dyns :: DynInstance) -> Self { let methods = Methods { instance } ; Contract { methods } } # [doc = r" Returns the contract address being used by this instance."] pub fn address (& self) -> self :: ethcontract :: Address { self . raw_instance () . address () } # [doc = r" Returns the deployment information of the contract"] # [doc = r" if it is known, `None` otherwise."] pub fn deployment_information (& self) -> Option < ethcontract :: common :: DeploymentInformation > { self . raw_instance () . deployment_information () } # [doc = r" Returns a reference to the default method options used by this"] # [doc = r" contract."] pub fn defaults (& self) -> & self :: ethcontract :: contract :: MethodDefaults { & self . raw_instance () . defaults } # [doc = r" Returns a mutable reference to the default method options used"] # [doc = r" by this contract."] pub fn defaults_mut (& mut self) -> & mut self :: ethcontract :: contract :: MethodDefaults { & mut self . raw_instance_mut () . defaults } # [doc = r" Returns a reference to the raw runtime instance used by this"] # [doc = r" contract."] pub fn raw_instance (& self) -> & self :: ethcontract :: dyns :: DynInstance { & self . methods . instance } # [doc = r" Returns a mutable reference to the raw runtime instance used by"] # [doc = r" this contract."] fn raw_instance_mut (& mut self) -> & mut self :: ethcontract :: dyns :: DynInstance { & mut self . methods . instance } } impl std :: fmt :: Debug for Contract { fn fmt (& self , f : & mut std :: fmt :: Formatter) -> std :: fmt :: Result { f . debug_tuple (stringify ! (ERC20)) . field (& self . address ()) . finish () } } impl Contract { # [doc = r" Returns an object that allows accessing typed method signatures."] pub fn signatures () -> Signatures { Signatures } # [doc = r" Retrieves a reference to type containing all the generated"] # [doc = r" contract methods. This can be used for methods where the name"] # [doc = r" would collide with a common method (like `at` or `deployed`)."] pub fn methods (& self) -> & Methods { & self . methods } } # [doc = r" Type containing signatures for all methods for generated contract type."] # [derive (Clone , Copy)] pub struct Signatures ; impl Signatures { # [doc = "Returns signature for method `allowance(address,address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([221 , 98 , 237 , 62]) } # [doc = "Returns signature for method `approve(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn approve (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([9 , 94 , 167 , 179]) } # [doc = "Returns signature for method `balanceOf(address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn balance_of (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([112 , 160 , 130 , 49]) } # [doc = "Returns signature for method `decimals():(uint8)`."] # [allow (clippy :: type_complexity)] pub fn decimals (& self) -> self :: ethcontract :: contract :: Signature < () , u8 > { self :: ethcontract :: contract :: Signature :: new ([49 , 60 , 229 , 103]) } # [doc = "Returns signature for method `name():(string)`."] # [allow (clippy :: type_complexity)] pub fn name (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([6 , 253 , 222 , 3]) } # [doc = "Returns signature for method `symbol():(string)`."] # [allow (clippy :: type_complexity)] pub fn symbol (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([149 , 216 , 155 , 65]) } # [doc = "Returns signature for method `totalSupply():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn total_supply (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([24 , 22 , 13 , 221]) } # [doc = "Returns signature for method `transfer(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([169 , 5 , 156 , 187]) } # [doc = "Returns signature for method `transferFrom(address,address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer_from (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([35 , 184 , 114 , 221]) } } # [doc = r" Type containing all contract methods for generated contract type."] # [derive (Clone)] pub struct Methods { instance : self :: ethcontract :: dyns :: DynInstance , } # [allow (clippy :: too_many_arguments , clippy :: type_complexity)] impl Methods { # [doc = "Generated by `ethcontract`"] pub fn allowance (& self , owner : self :: ethcontract :: Address , spender : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([221 , 98 , 237 , 62] , (owner , spender ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn approve (& self , spender : self :: ethcontract :: Address , value : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([9 , 94 , 167 , 179] , (spender , value ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn balance_of (& self , owner : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([112 , 160 , 130 , 49] , (owner ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn decimals (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < u8 > { self . instance . view_method ([49 , 60 , 229 , 103] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn name (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([6 , 253 , 222 , 3] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn symbol (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([149 , 216 , 155 , 65] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn total_supply (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([24 , 22 , 13 , 221] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer (& self , to : self :: ethcontract :: Address , value : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([169 , 5 , 156 , 187] , (to , value ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer_from (& self , from : self :: ethcontract :: Address , to : self :: ethcontract :: Address , value : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([35 , 184 , 114 , 221] , (from , to , value ,)) . expect ("generated call") } } impl std :: ops :: Deref for Contract { type Target = Methods ; fn deref (& self) -> & Self :: Target { & self . methods } } impl Contract { # [doc = r" Returns a method builder to setup a call to a smart"] # [doc = r" contract's fallback function."] pub fn fallback < D > (& self , data : D) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > where D : Into < Vec < u8 >> , { self . raw_instance () . fallback (data) . expect ("generated fallback method") } } # [doc = r" Module containing all generated data models for this contract's"] # [doc = r" events."] pub mod event_data { use super :: ethcontract ; # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Approval { pub owner : self :: ethcontract :: Address , pub spender : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Approval { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Approval(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Approval(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Approval { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (owner , spender , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Approval { owner , spender , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Transfer { pub from : self :: ethcontract :: Address , pub to : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Transfer { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Transfer(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Transfer(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Transfer { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (from , to , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Transfer { from , to , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } } impl Contract { # [doc = r" Retrieves a handle to a type containing for creating event"] # [doc = r" streams for all the contract events."] pub fn events (& self) -> Events < '_ > { Events { instance : self . raw_instance () , } } } pub struct Events < 'a > { instance : & 'a self :: ethcontract :: dyns :: DynInstance , } impl Events < '_ > { # [doc = r" Generated by `ethcontract`."] pub fn approval (& self) -> self :: event_builders :: ApprovalBuilder { self :: event_builders :: ApprovalBuilder (self . instance . event (self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn transfer (& self) -> self :: event_builders :: TransferBuilder { self :: event_builders :: TransferBuilder (self . instance . event (self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239])) . expect ("generated event filter") ,) } } # [doc = r" Module containing the generated event stream builders with type safe"] # [doc = r" filter methods for this contract's events."] pub mod event_builders { use super :: ethcontract ; use super :: event_data ; # [doc = "A builder for creating a filtered stream of `Approval` events."] pub struct ApprovalBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Approval > ,) ; impl ApprovalBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the owner event parameter."] pub fn owner (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the spender event parameter."] pub fn spender (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Approval >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Approval > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `Transfer` events."] pub struct TransferBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Transfer > ,) ; impl TransferBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the from event parameter."] pub fn from (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the to event parameter."] pub fn to (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Transfer >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Transfer > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } } impl Contract { # [doc = r" Returns a log stream with all events."] pub fn all_events (& self) -> self :: ethcontract :: dyns :: DynAllEventsBuilder < Event > { self :: ethcontract :: dyns :: DynAllEventsBuilder :: new (self . raw_instance () . web3 () , self . address () , self . deployment_information () ,) } } # [doc = r" A contract event."] # [derive (Clone , Debug , Eq , PartialEq ,)] pub enum Event { Approval (self :: event_data :: Approval) , Transfer (self :: event_data :: Transfer) , } impl self :: ethcontract :: contract :: ParseLog for Event { fn parse_log (log : self :: ethcontract :: RawLog ,) -> Result < Self , self :: ethcontract :: errors :: ExecutionError > { let standard_event = log . topics . get (0) . copied () . map (| topic | match topic { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) => Ok (Event :: Approval (log . clone () . decode (Contract :: raw_contract () . abi . event ("Approval") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) => Ok (Event :: Transfer (log . clone () . decode (Contract :: raw_contract () . abi . event ("Transfer") . expect ("generated event decode")) ?)) , _ => Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) , }) ; if let Some (Ok (data)) = standard_event { return Ok (data) ; } Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) } } } pub use self :: erc20 :: Contract as ERC20 ;
  • balancer_sdk 0.1.16-alpha/src/generated_contracts/liquidity_bootstrapping_pool.rs
    1
    # [allow (dead_code)] pub mod liquidity_bootstrapping_pool { # [rustfmt :: skip] use ethcontract as ethcontract ; # [doc = "Generated by `ethcontract`"] # [derive (Clone)] pub struct Contract { methods : Methods , } impl Contract { # [doc = r" Retrieves the raw contract instance used to generate the type safe"] # [doc = r" API for this contract."] pub fn raw_contract () -> & 'static self :: ethcontract :: Contract { use self :: ethcontract :: common :: artifact :: truffle :: TruffleLoader ; use self :: ethcontract :: private :: lazy_static ; use self :: ethcontract :: Contract ; lazy_static ! { pub static ref CONTRACT : Contract = { # [allow (unused_mut)] let mut contract = TruffleLoader :: new () . load_contract_from_str ("{\"contractName\":\"LiquidityBootstrappingPool\",\"abi\":[{\"type\":\"constructor\",\"inputs\":[{\"internalType\":\"contract IVault\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"contract IERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"normalizedWeights\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowDuration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodDuration\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"swapEnabledOnStart\",\"type\":\"bool\"}]},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getActionId\",\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getAuthorizer\",\"inputs\":[],\"outputs\":[{\"internalType\":\"contract IAuthorizer\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getGradualWeightUpdateParams\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"endWeights\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getInvariant\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLastInvariant\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getNormalizedWeights\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getOwner\",\"inputs\":[],\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPausedState\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodEndTime\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPoolId\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRate\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSwapEnabled\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSwapFeePercentage\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVault\",\"inputs\":[],\"outputs\":[{\"internalType\":\"contract IVault\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onExitPool\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onJoinPool\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onSwap\",\"inputs\":[{\"internalType\":\"struct IPoolSwapStructs.SwapRequest\",\"name\":\"request\",\"type\":\"tuple\",\"components\":[{\"type\":\"uint8\"},{\"type\":\"address\"},{\"type\":\"address\"},{\"type\":\"uint256\"},{\"type\":\"bytes32\"},{\"type\":\"uint256\"},{\"type\":\"address\"},{\"type\":\"address\"},{\"type\":\"bytes\"}]},{\"internalType\":\"uint256\",\"name\":\"balanceTokenIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balanceTokenOut\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"queryExit\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsOut\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"queryJoin\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsIn\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setAssetManagerPoolConfig\",\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"poolConfig\",\"type\":\"bytes\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setPaused\",\"inputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setSwapEnabled\",\"inputs\":[{\"internalType\":\"bool\",\"name\":\"swapEnabled\",\"type\":\"bool\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setSwapFeePercentage\",\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateWeightsGradually\",\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"endWeights\",\"type\":\"uint256[]\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"GradualWeightUpdateScheduled\",\"inputs\":[{\"name\":\"startTime\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"endTime\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"startWeights\",\"type\":\"uint256[]\",\"indexed\":false},{\"name\":\"endWeights\",\"type\":\"uint256[]\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PausedStateChanged\",\"inputs\":[{\"name\":\"paused\",\"type\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SwapEnabledSet\",\"inputs\":[{\"name\":\"swapEnabled\",\"type\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SwapFeePercentageChanged\",\"inputs\":[{\"name\":\"swapFeePercentage\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false}],\"bytecode\":\"\",\"networks\":{},\"devdoc\":{\"details\":null,\"methods\":{}},\"userdoc\":{\"details\":null,\"methods\":{}}}") . expect ("valid contract JSON") ; contract } ; } & CONTRACT } # [doc = r" Creates a new contract instance with the specified `web3`"] # [doc = r" provider at the given `Address`."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching"] # [doc = r" `Abi` is actually deployed at the given address."] pub fn at < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { Contract :: with_deployment_info (web3 , address , None) } # [doc = r" Creates a new contract instance with the specified `web3` provider with"] # [doc = r" the given `Abi` at the given `Address` and an optional transaction hash."] # [doc = r" This hash is used to retrieve contract related information such as the"] # [doc = r" creation block (which is useful for fetching all historic events)."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching `Abi` is"] # [doc = r" actually deployed at the given address nor that the transaction hash,"] # [doc = r" when provided, is actually for this contract deployment."] pub fn with_deployment_info < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address , deployment_information : Option < ethcontract :: common :: DeploymentInformation > ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { use self :: ethcontract :: Instance ; use self :: ethcontract :: transport :: DynTransport ; use self :: ethcontract :: web3 :: api :: Web3 ; let transport = DynTransport :: new (web3 . transport () . clone ()) ; let web3 = Web3 :: new (transport) ; let abi = Self :: raw_contract () . abi . clone () ; let instance = Instance :: with_deployment_info (web3 , abi , address , deployment_information) ; Contract :: from_raw (instance) } # [doc = r" Creates a contract from a raw instance."] fn from_raw (instance : self :: ethcontract :: dyns :: DynInstance) -> Self { let methods = Methods { instance } ; Contract { methods } } # [doc = r" Returns the contract address being used by this instance."] pub fn address (& self) -> self :: ethcontract :: Address { self . raw_instance () . address () } # [doc = r" Returns the deployment information of the contract"] # [doc = r" if it is known, `None` otherwise."] pub fn deployment_information (& self) -> Option < ethcontract :: common :: DeploymentInformation > { self . raw_instance () . deployment_information () } # [doc = r" Returns a reference to the default method options used by this"] # [doc = r" contract."] pub fn defaults (& self) -> & self :: ethcontract :: contract :: MethodDefaults { & self . raw_instance () . defaults } # [doc = r" Returns a mutable reference to the default method options used"] # [doc = r" by this contract."] pub fn defaults_mut (& mut self) -> & mut self :: ethcontract :: contract :: MethodDefaults { & mut self . raw_instance_mut () . defaults } # [doc = r" Returns a reference to the raw runtime instance used by this"] # [doc = r" contract."] pub fn raw_instance (& self) -> & self :: ethcontract :: dyns :: DynInstance { & self . methods . instance } # [doc = r" Returns a mutable reference to the raw runtime instance used by"] # [doc = r" this contract."] fn raw_instance_mut (& mut self) -> & mut self :: ethcontract :: dyns :: DynInstance { & mut self . methods . instance } } impl std :: fmt :: Debug for Contract { fn fmt (& self , f : & mut std :: fmt :: Formatter) -> std :: fmt :: Result { f . debug_tuple (stringify ! (LiquidityBootstrappingPool)) . field (& self . address ()) . finish () } } impl Contract { # [doc = r" Returns an object that allows accessing typed method signatures."] pub fn signatures () -> Signatures { Signatures } # [doc = r" Retrieves a reference to type containing all the generated"] # [doc = r" contract methods. This can be used for methods where the name"] # [doc = r" would collide with a common method (like `at` or `deployed`)."] pub fn methods (& self) -> & Methods { & self . methods } } # [doc = r" Type containing signatures for all methods for generated contract type."] # [derive (Clone , Copy)] pub struct Signatures ; impl Signatures { # [doc = "Returns signature for method `DOMAIN_SEPARATOR():(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn domain_separator (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([54 , 68 , 229 , 21]) } # [doc = "Returns signature for method `allowance(address,address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([221 , 98 , 237 , 62]) } # [doc = "Returns signature for method `approve(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn approve (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([9 , 94 , 167 , 179]) } # [doc = "Returns signature for method `balanceOf(address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn balance_of (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([112 , 160 , 130 , 49]) } # [doc = "Returns signature for method `decimals():(uint8)`."] # [allow (clippy :: type_complexity)] pub fn decimals (& self) -> self :: ethcontract :: contract :: Signature < () , u8 > { self :: ethcontract :: contract :: Signature :: new ([49 , 60 , 229 , 103]) } # [doc = "Returns signature for method `decreaseAllowance(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn decrease_allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([164 , 87 , 194 , 215]) } # [doc = "Returns signature for method `getActionId(bytes4):(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn get_action_id (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 4] > ,) , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([133 , 28 , 27 , 179]) } # [doc = "Returns signature for method `getAuthorizer():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_authorizer (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([170 , 171 , 173 , 197]) } # [doc = "Returns signature for method `getGradualWeightUpdateParams():(uint256,uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_gradual_weight_update_params (& self) -> self :: ethcontract :: contract :: Signature < () , (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([123 , 238 , 210 , 32]) } # [doc = "Returns signature for method `getInvariant():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_invariant (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([192 , 255 , 26 , 21]) } # [doc = "Returns signature for method `getLastInvariant():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_last_invariant (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([155 , 2 , 205 , 222]) } # [doc = "Returns signature for method `getNormalizedWeights():(uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_normalized_weights (& self) -> self :: ethcontract :: contract :: Signature < () , Vec < self :: ethcontract :: U256 > > { self :: ethcontract :: contract :: Signature :: new ([248 , 159 , 39 , 237]) } # [doc = "Returns signature for method `getOwner():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_owner (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([137 , 61 , 32 , 232]) } # [doc = "Returns signature for method `getPausedState():(bool,uint256,uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_paused_state (& self) -> self :: ethcontract :: contract :: Signature < () , (bool , self :: ethcontract :: U256 , self :: ethcontract :: U256) > { self :: ethcontract :: contract :: Signature :: new ([28 , 13 , 224 , 81]) } # [doc = "Returns signature for method `getPoolId():(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn get_pool_id (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([56 , 255 , 242 , 208]) } # [doc = "Returns signature for method `getRate():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_rate (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([103 , 154 , 239 , 206]) } # [doc = "Returns signature for method `getSwapEnabled():(bool)`."] # [allow (clippy :: type_complexity)] pub fn get_swap_enabled (& self) -> self :: ethcontract :: contract :: Signature < () , bool > { self :: ethcontract :: contract :: Signature :: new ([71 , 188 , 77 , 146]) } # [doc = "Returns signature for method `getSwapFeePercentage():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_swap_fee_percentage (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([85 , 198 , 118 , 40]) } # [doc = "Returns signature for method `getVault():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_vault (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([141 , 146 , 138 , 248]) } # [doc = "Returns signature for method `increaseAllowance(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn increase_allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([57 , 80 , 147 , 81]) } # [doc = "Returns signature for method `name():(string)`."] # [allow (clippy :: type_complexity)] pub fn name (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([6 , 253 , 222 , 3]) } # [doc = "Returns signature for method `nonces(address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn nonces (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([126 , 206 , 190 , 0]) } # [doc = "Returns signature for method `onExitPool(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256[],uint256[])`."] # [allow (clippy :: type_complexity)] pub fn on_exit_pool (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([116 , 243 , 176 , 9]) } # [doc = "Returns signature for method `onJoinPool(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256[],uint256[])`."] # [allow (clippy :: type_complexity)] pub fn on_join_pool (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([213 , 192 , 150 , 196]) } # [doc = "Returns signature for method `onSwap((uint8,address,address,uint256,bytes32,uint256,address,address,bytes),uint256,uint256):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn on_swap (& self) -> self :: ethcontract :: contract :: Signature < ((u8 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: U256 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , self :: ethcontract :: U256 , self :: ethcontract :: U256 ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([157 , 44 , 17 , 12]) } # [doc = "Returns signature for method `permit(address,address,uint256,uint256,uint8,bytes32,bytes32)`."] # [allow (clippy :: type_complexity)] pub fn permit (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: U256 , u8 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > ,) , () > { self :: ethcontract :: contract :: Signature :: new ([213 , 5 , 172 , 207]) } # [doc = "Returns signature for method `queryExit(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn query_exit (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([96 , 40 , 191 , 212]) } # [doc = "Returns signature for method `queryJoin(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn query_join (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([135 , 236 , 104 , 23]) } # [doc = "Returns signature for method `setAssetManagerPoolConfig(address,bytes)`."] # [allow (clippy :: type_complexity)] pub fn set_asset_manager_pool_config (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , () > { self :: ethcontract :: contract :: Signature :: new ([80 , 221 , 110 , 217]) } # [doc = "Returns signature for method `setPaused(bool)`."] # [allow (clippy :: type_complexity)] pub fn set_paused (& self) -> self :: ethcontract :: contract :: Signature < (bool ,) , () > { self :: ethcontract :: contract :: Signature :: new ([22 , 195 , 139 , 60]) } # [doc = "Returns signature for method `setSwapEnabled(bool)`."] # [allow (clippy :: type_complexity)] pub fn set_swap_enabled (& self) -> self :: ethcontract :: contract :: Signature < (bool ,) , () > { self :: ethcontract :: contract :: Signature :: new ([224 , 26 , 249 , 44]) } # [doc = "Returns signature for method `setSwapFeePercentage(uint256)`."] # [allow (clippy :: type_complexity)] pub fn set_swap_fee_percentage (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: U256 ,) , () > { self :: ethcontract :: contract :: Signature :: new ([56 , 233 , 146 , 46]) } # [doc = "Returns signature for method `symbol():(string)`."] # [allow (clippy :: type_complexity)] pub fn symbol (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([149 , 216 , 155 , 65]) } # [doc = "Returns signature for method `totalSupply():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn total_supply (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([24 , 22 , 13 , 221]) } # [doc = "Returns signature for method `transfer(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([169 , 5 , 156 , 187]) } # [doc = "Returns signature for method `transferFrom(address,address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer_from (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([35 , 184 , 114 , 221]) } # [doc = "Returns signature for method `updateWeightsGradually(uint256,uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn update_weights_gradually (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 > ,) , () > { self :: ethcontract :: contract :: Signature :: new ([62 , 86 , 146 , 5]) } } # [doc = r" Type containing all contract methods for generated contract type."] # [derive (Clone)] pub struct Methods { instance : self :: ethcontract :: dyns :: DynInstance , } # [allow (clippy :: too_many_arguments , clippy :: type_complexity)] impl Methods { # [doc = "Generated by `ethcontract`"] pub fn domain_separator (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([54 , 68 , 229 , 21] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn allowance (& self , owner : self :: ethcontract :: Address , spender : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([221 , 98 , 237 , 62] , (owner , spender ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn approve (& self , spender : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([9 , 94 , 167 , 179] , (spender , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn balance_of (& self , account : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([112 , 160 , 130 , 49] , (account ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn decimals (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < u8 > { self . instance . view_method ([49 , 60 , 229 , 103] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn decrease_allowance (& self , spender : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([164 , 87 , 194 , 215] , (spender , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_action_id (& self , selector : self :: ethcontract :: tokens :: Bytes < [u8 ; 4] >) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([133 , 28 , 27 , 179] , (selector ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_authorizer (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([170 , 171 , 173 , 197] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_gradual_weight_update_params (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . view_method ([123 , 238 , 210 , 32] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_invariant (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([192 , 255 , 26 , 21] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_last_invariant (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([155 , 2 , 205 , 222] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_normalized_weights (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < Vec < self :: ethcontract :: U256 > > { self . instance . view_method ([248 , 159 , 39 , 237] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_owner (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([137 , 61 , 32 , 232] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_paused_state (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < (bool , self :: ethcontract :: U256 , self :: ethcontract :: U256) > { self . instance . view_method ([28 , 13 , 224 , 81] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_pool_id (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([56 , 255 , 242 , 208] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_rate (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([103 , 154 , 239 , 206] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_swap_enabled (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < bool > { self . instance . view_method ([71 , 188 , 77 , 146] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_swap_fee_percentage (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([85 , 198 , 118 , 40] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_vault (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([141 , 146 , 138 , 248] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn increase_allowance (& self , spender : self :: ethcontract :: Address , added_value : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([57 , 80 , 147 , 81] , (spender , added_value ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn name (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([6 , 253 , 222 , 3] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn nonces (& self , owner : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([126 , 206 , 190 , 0] , (owner ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_exit_pool (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([116 , 243 , 176 , 9] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_join_pool (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([213 , 192 , 150 , 196] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_swap (& self , request : (u8 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: U256 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , balance_token_in : self :: ethcontract :: U256 , balance_token_out : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([157 , 44 , 17 , 12] , (request , balance_token_in , balance_token_out ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn permit (& self , owner : self :: ethcontract :: Address , spender : self :: ethcontract :: Address , value : self :: ethcontract :: U256 , deadline : self :: ethcontract :: U256 , v : u8 , r : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , s : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] >) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([213 , 5 , 172 , 207] , (owner , spender , value , deadline , v , r , s ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn query_exit (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([96 , 40 , 191 , 212] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn query_join (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([135 , 236 , 104 , 23] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_asset_manager_pool_config (& self , token : self :: ethcontract :: Address , pool_config : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([80 , 221 , 110 , 217] , (token , pool_config ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_paused (& self , paused : bool) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([22 , 195 , 139 , 60] , (paused ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_swap_enabled (& self , swap_enabled : bool) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([224 , 26 , 249 , 44] , (swap_enabled ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_swap_fee_percentage (& self , swap_fee_percentage : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([56 , 233 , 146 , 46] , (swap_fee_percentage ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn symbol (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([149 , 216 , 155 , 65] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn total_supply (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([24 , 22 , 13 , 221] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer (& self , recipient : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([169 , 5 , 156 , 187] , (recipient , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer_from (& self , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([35 , 184 , 114 , 221] , (sender , recipient , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn update_weights_gradually (& self , start_time : self :: ethcontract :: U256 , end_time : self :: ethcontract :: U256 , end_weights : Vec < self :: ethcontract :: U256 >) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([62 , 86 , 146 , 5] , (start_time , end_time , end_weights ,)) . expect ("generated call") } } impl std :: ops :: Deref for Contract { type Target = Methods ; fn deref (& self) -> & Self :: Target { & self . methods } } # [doc = r" Module containing all generated data models for this contract's"] # [doc = r" events."] pub mod event_data { use super :: ethcontract ; # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Approval { pub owner : self :: ethcontract :: Address , pub spender : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Approval { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Approval(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Approval(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Approval { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (owner , spender , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Approval { owner , spender , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct GradualWeightUpdateScheduled { pub start_time : self :: ethcontract :: U256 , pub end_time : self :: ethcontract :: U256 , pub start_weights : Vec < self :: ethcontract :: U256 > , pub end_weights : Vec < self :: ethcontract :: U256 > , } impl GradualWeightUpdateScheduled { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`GradualWeightUpdateScheduled(uint256,uint256,uint256[],uint256[])`"] pub fn abi_signature () -> & 'static str { "GradualWeightUpdateScheduled(uint256,uint256,uint256[],uint256[])" } } impl self :: ethcontract :: tokens :: Tokenize for GradualWeightUpdateScheduled { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (start_time , end_time , start_weights , end_weights ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (GradualWeightUpdateScheduled { start_time , end_time , start_weights , end_weights }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct PausedStateChanged { pub paused : bool , } impl PausedStateChanged { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`PausedStateChanged(bool)`"] pub fn abi_signature () -> & 'static str { "PausedStateChanged(bool)" } } impl self :: ethcontract :: tokens :: Tokenize for PausedStateChanged { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (paused ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (PausedStateChanged { paused }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct SwapEnabledSet { pub swap_enabled : bool , } impl SwapEnabledSet { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`SwapEnabledSet(bool)`"] pub fn abi_signature () -> & 'static str { "SwapEnabledSet(bool)" } } impl self :: ethcontract :: tokens :: Tokenize for SwapEnabledSet { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (swap_enabled ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (SwapEnabledSet { swap_enabled }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct SwapFeePercentageChanged { pub swap_fee_percentage : self :: ethcontract :: U256 , } impl SwapFeePercentageChanged { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`SwapFeePercentageChanged(uint256)`"] pub fn abi_signature () -> & 'static str { "SwapFeePercentageChanged(uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for SwapFeePercentageChanged { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (swap_fee_percentage ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (SwapFeePercentageChanged { swap_fee_percentage }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Transfer { pub from : self :: ethcontract :: Address , pub to : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Transfer { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Transfer(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Transfer(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Transfer { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (from , to , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Transfer { from , to , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } } impl Contract { # [doc = r" Retrieves a handle to a type containing for creating event"] # [doc = r" streams for all the contract events."] pub fn events (& self) -> Events < '_ > { Events { instance : self . raw_instance () , } } } pub struct Events < 'a > { instance : & 'a self :: ethcontract :: dyns :: DynInstance , } impl Events < '_ > { # [doc = r" Generated by `ethcontract`."] pub fn approval (& self) -> self :: event_builders :: ApprovalBuilder { self :: event_builders :: ApprovalBuilder (self . instance . event (self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn gradual_weight_update_scheduled (& self) -> self :: event_builders :: GradualWeightUpdateScheduledBuilder { self :: event_builders :: GradualWeightUpdateScheduledBuilder (self . instance . event (self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn paused_state_changed (& self) -> self :: event_builders :: PausedStateChangedBuilder { self :: event_builders :: PausedStateChangedBuilder (self . instance . event (self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn swap_enabled_set (& self) -> self :: event_builders :: SwapEnabledSetBuilder { self :: event_builders :: SwapEnabledSetBuilder (self . instance . event (self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn swap_fee_percentage_changed (& self) -> self :: event_builders :: SwapFeePercentageChangedBuilder { self :: event_builders :: SwapFeePercentageChangedBuilder (self . instance . event (self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn transfer (& self) -> self :: event_builders :: TransferBuilder { self :: event_builders :: TransferBuilder (self . instance . event (self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239])) . expect ("generated event filter") ,) } } # [doc = r" Module containing the generated event stream builders with type safe"] # [doc = r" filter methods for this contract's events."] pub mod event_builders { use super :: ethcontract ; use super :: event_data ; # [doc = "A builder for creating a filtered stream of `Approval` events."] pub struct ApprovalBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Approval > ,) ; impl ApprovalBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the owner event parameter."] pub fn owner (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the spender event parameter."] pub fn spender (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Approval >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Approval > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `GradualWeightUpdateScheduled` events."] pub struct GradualWeightUpdateScheduledBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: GradualWeightUpdateScheduled > ,) ; impl GradualWeightUpdateScheduledBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: GradualWeightUpdateScheduled >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: GradualWeightUpdateScheduled > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `PausedStateChanged` events."] pub struct PausedStateChangedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: PausedStateChanged > ,) ; impl PausedStateChangedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: PausedStateChanged >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: PausedStateChanged > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `SwapEnabledSet` events."] pub struct SwapEnabledSetBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: SwapEnabledSet > ,) ; impl SwapEnabledSetBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: SwapEnabledSet >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: SwapEnabledSet > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `SwapFeePercentageChanged` events."] pub struct SwapFeePercentageChangedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: SwapFeePercentageChanged > ,) ; impl SwapFeePercentageChangedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: SwapFeePercentageChanged >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: SwapFeePercentageChanged > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `Transfer` events."] pub struct TransferBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Transfer > ,) ; impl TransferBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the from event parameter."] pub fn from (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the to event parameter."] pub fn to (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Transfer >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Transfer > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } } impl Contract { # [doc = r" Returns a log stream with all events."] pub fn all_events (& self) -> self :: ethcontract :: dyns :: DynAllEventsBuilder < Event > { self :: ethcontract :: dyns :: DynAllEventsBuilder :: new (self . raw_instance () . web3 () , self . address () , self . deployment_information () ,) } } # [doc = r" A contract event."] # [derive (Clone , Debug , Eq , PartialEq ,)] pub enum Event { Approval (self :: event_data :: Approval) , GradualWeightUpdateScheduled (self :: event_data :: GradualWeightUpdateScheduled) , PausedStateChanged (self :: event_data :: PausedStateChanged) , SwapEnabledSet (self :: event_data :: SwapEnabledSet) , SwapFeePercentageChanged (self :: event_data :: SwapFeePercentageChanged) , Transfer (self :: event_data :: Transfer) , } impl self :: ethcontract :: contract :: ParseLog for Event { fn parse_log (log : self :: ethcontract :: RawLog ,) -> Result < Self , self :: ethcontract :: errors :: ExecutionError > { let standard_event = log . topics . get (0) . copied () . map (| topic | match topic { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) => Ok (Event :: Approval (log . clone () . decode (Contract :: raw_contract () . abi . event ("Approval") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224]) => Ok (Event :: GradualWeightUpdateScheduled (log . clone () . decode (Contract :: raw_contract () . abi . event ("GradualWeightUpdateScheduled") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100]) => Ok (Event :: PausedStateChanged (log . clone () . decode (Contract :: raw_contract () . abi . event ("PausedStateChanged") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63]) => Ok (Event :: SwapEnabledSet (log . clone () . decode (Contract :: raw_contract () . abi . event ("SwapEnabledSet") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252]) => Ok (Event :: SwapFeePercentageChanged (log . clone () . decode (Contract :: raw_contract () . abi . event ("SwapFeePercentageChanged") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) => Ok (Event :: Transfer (log . clone () . decode (Contract :: raw_contract () . abi . event ("Transfer") . expect ("generated event decode")) ?)) , _ => Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) , }) ; if let Some (Ok (data)) = standard_event { return Ok (data) ; } Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) } } } pub use self :: liquidity_bootstrapping_pool :: Contract as LiquidityBootstrappingPool ;
  • balancer_sdk 0.1.16-alpha/src/generated_contracts/managed_pool.rs
    1
    # [allow (dead_code)] pub mod managed_pool { # [rustfmt :: skip] use ethcontract as ethcontract ; # [doc = "Generated by `ethcontract`"] # [derive (Clone)] pub struct Contract { methods : Methods , } impl Contract { # [doc = r" Retrieves the raw contract instance used to generate the type safe"] # [doc = r" API for this contract."] pub fn raw_contract () -> & 'static self :: ethcontract :: Contract { use self :: ethcontract :: common :: artifact :: truffle :: TruffleLoader ; use self :: ethcontract :: private :: lazy_static ; use self :: ethcontract :: Contract ; lazy_static ! { pub static ref CONTRACT : Contract = { # [allow (unused_mut)] let mut contract = TruffleLoader :: new () . load_contract_from_str ("{\"contractName\":\"ManagedPool\",\"abi\":[{\"type\":\"constructor\",\"inputs\":[{\"internalType\":\"struct InvestmentPool.NewPoolParams\",\"name\":\"params\",\"type\":\"tuple\",\"components\":[{\"type\":\"address\"},{\"type\":\"string\"},{\"type\":\"string\"},{\"type\":\"address[]\"},{\"type\":\"uint256[]\"},{\"type\":\"address[]\"},{\"type\":\"uint256\"},{\"type\":\"uint256\"},{\"type\":\"uint256\"},{\"type\":\"address\"},{\"type\":\"bool\"},{\"type\":\"uint256\"}]}]},{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getActionId\",\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"}],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getAuthorizer\",\"inputs\":[],\"outputs\":[{\"internalType\":\"contract IAuthorizer\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getCollectedManagementFees\",\"inputs\":[],\"outputs\":[{\"internalType\":\"contract IERC20[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"collectedFees\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getGradualWeightUpdateParams\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"endWeights\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getInvariant\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getLastInvariant\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getManagementSwapFeePercentage\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getMinimumWeightChangeDuration\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"getNormalizedWeights\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getOwner\",\"inputs\":[],\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPausedState\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"pauseWindowEndTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bufferPeriodEndTime\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getPoolId\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRate\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getScalingFactors\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSwapEnabled\",\"inputs\":[],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getSwapFeePercentage\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getVault\",\"inputs\":[],\"outputs\":[{\"internalType\":\"contract IVault\",\"name\":\"\",\"type\":\"address\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"onExitPool\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onJoinPool\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"onSwap\",\"inputs\":[{\"internalType\":\"struct IPoolSwapStructs.SwapRequest\",\"name\":\"swapRequest\",\"type\":\"tuple\",\"components\":[{\"type\":\"uint8\"},{\"type\":\"address\"},{\"type\":\"address\"},{\"type\":\"uint256\"},{\"type\":\"bytes32\"},{\"type\":\"uint256\"},{\"type\":\"address\"},{\"type\":\"address\"},{\"type\":\"bytes\"}]},{\"internalType\":\"uint256\",\"name\":\"currentBalanceTokenIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentBalanceTokenOut\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"queryExit\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsOut\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"queryJoin\",\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"balances\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"lastChangeBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolSwapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"userData\",\"type\":\"bytes\"}],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bptOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"amountsIn\",\"type\":\"uint256[]\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setAssetManagerPoolConfig\",\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"poolConfig\",\"type\":\"bytes\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setPaused\",\"inputs\":[{\"internalType\":\"bool\",\"name\":\"paused\",\"type\":\"bool\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setSwapEnabled\",\"inputs\":[{\"internalType\":\"bool\",\"name\":\"swapEnabled\",\"type\":\"bool\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setSwapFeePercentage\",\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"swapFeePercentage\",\"type\":\"uint256\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"constant\":false,\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateWeightsGradually\",\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"startTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTime\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"endWeights\",\"type\":\"uint256[]\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawCollectedManagementFees\",\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"outputs\":[],\"constant\":false,\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"GradualWeightUpdateScheduled\",\"inputs\":[{\"name\":\"startTime\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"endTime\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"startWeights\",\"type\":\"uint256[]\",\"indexed\":false},{\"name\":\"endWeights\",\"type\":\"uint256[]\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ManagementFeePercentageChanged\",\"inputs\":[{\"name\":\"managementFeePercentage\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ManagementFeesCollected\",\"inputs\":[{\"name\":\"tokens\",\"type\":\"address[]\",\"indexed\":false},{\"name\":\"amounts\",\"type\":\"uint256[]\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"PausedStateChanged\",\"inputs\":[{\"name\":\"paused\",\"type\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SwapEnabledSet\",\"inputs\":[{\"name\":\"swapEnabled\",\"type\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"SwapFeePercentageChanged\",\"inputs\":[{\"name\":\"swapFeePercentage\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false}],\"bytecode\":\"\",\"networks\":{},\"devdoc\":{\"details\":null,\"methods\":{}},\"userdoc\":{\"details\":null,\"methods\":{}}}") . expect ("valid contract JSON") ; contract } ; } & CONTRACT } # [doc = r" Creates a new contract instance with the specified `web3`"] # [doc = r" provider at the given `Address`."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching"] # [doc = r" `Abi` is actually deployed at the given address."] pub fn at < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { Contract :: with_deployment_info (web3 , address , None) } # [doc = r" Creates a new contract instance with the specified `web3` provider with"] # [doc = r" the given `Abi` at the given `Address` and an optional transaction hash."] # [doc = r" This hash is used to retrieve contract related information such as the"] # [doc = r" creation block (which is useful for fetching all historic events)."] # [doc = r""] # [doc = r" Note that this does not verify that a contract with a matching `Abi` is"] # [doc = r" actually deployed at the given address nor that the transaction hash,"] # [doc = r" when provided, is actually for this contract deployment."] pub fn with_deployment_info < F , B , T > (web3 : & self :: ethcontract :: web3 :: api :: Web3 < T > , address : self :: ethcontract :: Address , deployment_information : Option < ethcontract :: common :: DeploymentInformation > ,) -> Self where F : std :: future :: Future < Output = Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , B : std :: future :: Future < Output = Result < Vec < Result < self :: ethcontract :: json :: Value , self :: ethcontract :: web3 :: Error , > , > , self :: ethcontract :: web3 :: Error , > , > + Send + 'static , T : self :: ethcontract :: web3 :: Transport < Out = F > + self :: ethcontract :: web3 :: BatchTransport < Batch = B > + Send + Sync + 'static , { use self :: ethcontract :: Instance ; use self :: ethcontract :: transport :: DynTransport ; use self :: ethcontract :: web3 :: api :: Web3 ; let transport = DynTransport :: new (web3 . transport () . clone ()) ; let web3 = Web3 :: new (transport) ; let abi = Self :: raw_contract () . abi . clone () ; let instance = Instance :: with_deployment_info (web3 , abi , address , deployment_information) ; Contract :: from_raw (instance) } # [doc = r" Creates a contract from a raw instance."] fn from_raw (instance : self :: ethcontract :: dyns :: DynInstance) -> Self { let methods = Methods { instance } ; Contract { methods } } # [doc = r" Returns the contract address being used by this instance."] pub fn address (& self) -> self :: ethcontract :: Address { self . raw_instance () . address () } # [doc = r" Returns the deployment information of the contract"] # [doc = r" if it is known, `None` otherwise."] pub fn deployment_information (& self) -> Option < ethcontract :: common :: DeploymentInformation > { self . raw_instance () . deployment_information () } # [doc = r" Returns a reference to the default method options used by this"] # [doc = r" contract."] pub fn defaults (& self) -> & self :: ethcontract :: contract :: MethodDefaults { & self . raw_instance () . defaults } # [doc = r" Returns a mutable reference to the default method options used"] # [doc = r" by this contract."] pub fn defaults_mut (& mut self) -> & mut self :: ethcontract :: contract :: MethodDefaults { & mut self . raw_instance_mut () . defaults } # [doc = r" Returns a reference to the raw runtime instance used by this"] # [doc = r" contract."] pub fn raw_instance (& self) -> & self :: ethcontract :: dyns :: DynInstance { & self . methods . instance } # [doc = r" Returns a mutable reference to the raw runtime instance used by"] # [doc = r" this contract."] fn raw_instance_mut (& mut self) -> & mut self :: ethcontract :: dyns :: DynInstance { & mut self . methods . instance } } impl std :: fmt :: Debug for Contract { fn fmt (& self , f : & mut std :: fmt :: Formatter) -> std :: fmt :: Result { f . debug_tuple (stringify ! (ManagedPool)) . field (& self . address ()) . finish () } } impl Contract { # [doc = r" Returns an object that allows accessing typed method signatures."] pub fn signatures () -> Signatures { Signatures } # [doc = r" Retrieves a reference to type containing all the generated"] # [doc = r" contract methods. This can be used for methods where the name"] # [doc = r" would collide with a common method (like `at` or `deployed`)."] pub fn methods (& self) -> & Methods { & self . methods } } # [doc = r" Type containing signatures for all methods for generated contract type."] # [derive (Clone , Copy)] pub struct Signatures ; impl Signatures { # [doc = "Returns signature for method `DOMAIN_SEPARATOR():(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn domain_separator (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([54 , 68 , 229 , 21]) } # [doc = "Returns signature for method `allowance(address,address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([221 , 98 , 237 , 62]) } # [doc = "Returns signature for method `approve(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn approve (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([9 , 94 , 167 , 179]) } # [doc = "Returns signature for method `balanceOf(address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn balance_of (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([112 , 160 , 130 , 49]) } # [doc = "Returns signature for method `decimals():(uint8)`."] # [allow (clippy :: type_complexity)] pub fn decimals (& self) -> self :: ethcontract :: contract :: Signature < () , u8 > { self :: ethcontract :: contract :: Signature :: new ([49 , 60 , 229 , 103]) } # [doc = "Returns signature for method `decreaseAllowance(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn decrease_allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([164 , 87 , 194 , 215]) } # [doc = "Returns signature for method `getActionId(bytes4):(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn get_action_id (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 4] > ,) , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([133 , 28 , 27 , 179]) } # [doc = "Returns signature for method `getAuthorizer():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_authorizer (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([170 , 171 , 173 , 197]) } # [doc = "Returns signature for method `getCollectedManagementFees():(address[],uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_collected_management_fees (& self) -> self :: ethcontract :: contract :: Signature < () , (Vec < self :: ethcontract :: Address > , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([50 , 241 , 68 , 245]) } # [doc = "Returns signature for method `getGradualWeightUpdateParams():(uint256,uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_gradual_weight_update_params (& self) -> self :: ethcontract :: contract :: Signature < () , (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([123 , 238 , 210 , 32]) } # [doc = "Returns signature for method `getInvariant():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_invariant (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([192 , 255 , 26 , 21]) } # [doc = "Returns signature for method `getLastInvariant():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_last_invariant (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([155 , 2 , 205 , 222]) } # [doc = "Returns signature for method `getManagementSwapFeePercentage():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_management_swap_fee_percentage (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([144 , 96 , 95 , 58]) } # [doc = "Returns signature for method `getMinimumWeightChangeDuration():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_minimum_weight_change_duration (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([179 , 34 , 199 , 155]) } # [doc = "Returns signature for method `getNormalizedWeights():(uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_normalized_weights (& self) -> self :: ethcontract :: contract :: Signature < () , Vec < self :: ethcontract :: U256 > > { self :: ethcontract :: contract :: Signature :: new ([248 , 159 , 39 , 237]) } # [doc = "Returns signature for method `getOwner():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_owner (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([137 , 61 , 32 , 232]) } # [doc = "Returns signature for method `getPausedState():(bool,uint256,uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_paused_state (& self) -> self :: ethcontract :: contract :: Signature < () , (bool , self :: ethcontract :: U256 , self :: ethcontract :: U256) > { self :: ethcontract :: contract :: Signature :: new ([28 , 13 , 224 , 81]) } # [doc = "Returns signature for method `getPoolId():(bytes32)`."] # [allow (clippy :: type_complexity)] pub fn get_pool_id (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self :: ethcontract :: contract :: Signature :: new ([56 , 255 , 242 , 208]) } # [doc = "Returns signature for method `getRate():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_rate (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([103 , 154 , 239 , 206]) } # [doc = "Returns signature for method `getScalingFactors():(uint256[])`."] # [allow (clippy :: type_complexity)] pub fn get_scaling_factors (& self) -> self :: ethcontract :: contract :: Signature < () , Vec < self :: ethcontract :: U256 > > { self :: ethcontract :: contract :: Signature :: new ([29 , 215 , 70 , 234]) } # [doc = "Returns signature for method `getSwapEnabled():(bool)`."] # [allow (clippy :: type_complexity)] pub fn get_swap_enabled (& self) -> self :: ethcontract :: contract :: Signature < () , bool > { self :: ethcontract :: contract :: Signature :: new ([71 , 188 , 77 , 146]) } # [doc = "Returns signature for method `getSwapFeePercentage():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn get_swap_fee_percentage (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([85 , 198 , 118 , 40]) } # [doc = "Returns signature for method `getVault():(address)`."] # [allow (clippy :: type_complexity)] pub fn get_vault (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: Address > { self :: ethcontract :: contract :: Signature :: new ([141 , 146 , 138 , 248]) } # [doc = "Returns signature for method `increaseAllowance(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn increase_allowance (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([57 , 80 , 147 , 81]) } # [doc = "Returns signature for method `name():(string)`."] # [allow (clippy :: type_complexity)] pub fn name (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([6 , 253 , 222 , 3]) } # [doc = "Returns signature for method `nonces(address):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn nonces (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([126 , 206 , 190 , 0]) } # [doc = "Returns signature for method `onExitPool(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256[],uint256[])`."] # [allow (clippy :: type_complexity)] pub fn on_exit_pool (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([116 , 243 , 176 , 9]) } # [doc = "Returns signature for method `onJoinPool(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256[],uint256[])`."] # [allow (clippy :: type_complexity)] pub fn on_join_pool (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([213 , 192 , 150 , 196]) } # [doc = "Returns signature for method `onSwap((uint8,address,address,uint256,bytes32,uint256,address,address,bytes),uint256,uint256):(uint256)`."] # [allow (clippy :: type_complexity)] pub fn on_swap (& self) -> self :: ethcontract :: contract :: Signature < ((u8 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: U256 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , self :: ethcontract :: U256 , self :: ethcontract :: U256 ,) , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([157 , 44 , 17 , 12]) } # [doc = "Returns signature for method `permit(address,address,uint256,uint256,uint8,bytes32,bytes32)`."] # [allow (clippy :: type_complexity)] pub fn permit (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: U256 , u8 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > ,) , () > { self :: ethcontract :: contract :: Signature :: new ([213 , 5 , 172 , 207]) } # [doc = "Returns signature for method `queryExit(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn query_exit (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([96 , 40 , 191 , 212]) } # [doc = "Returns signature for method `queryJoin(bytes32,address,address,uint256[],uint256,uint256,bytes):(uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn query_join (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: Address , self :: ethcontract :: Address , Vec < self :: ethcontract :: U256 > , self :: ethcontract :: U256 , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self :: ethcontract :: contract :: Signature :: new ([135 , 236 , 104 , 23]) } # [doc = "Returns signature for method `setAssetManagerPoolConfig(address,bytes)`."] # [allow (clippy :: type_complexity)] pub fn set_asset_manager_pool_config (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , () > { self :: ethcontract :: contract :: Signature :: new ([80 , 221 , 110 , 217]) } # [doc = "Returns signature for method `setPaused(bool)`."] # [allow (clippy :: type_complexity)] pub fn set_paused (& self) -> self :: ethcontract :: contract :: Signature < (bool ,) , () > { self :: ethcontract :: contract :: Signature :: new ([22 , 195 , 139 , 60]) } # [doc = "Returns signature for method `setSwapEnabled(bool)`."] # [allow (clippy :: type_complexity)] pub fn set_swap_enabled (& self) -> self :: ethcontract :: contract :: Signature < (bool ,) , () > { self :: ethcontract :: contract :: Signature :: new ([224 , 26 , 249 , 44]) } # [doc = "Returns signature for method `setSwapFeePercentage(uint256)`."] # [allow (clippy :: type_complexity)] pub fn set_swap_fee_percentage (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: U256 ,) , () > { self :: ethcontract :: contract :: Signature :: new ([56 , 233 , 146 , 46]) } # [doc = "Returns signature for method `symbol():(string)`."] # [allow (clippy :: type_complexity)] pub fn symbol (& self) -> self :: ethcontract :: contract :: Signature < () , String > { self :: ethcontract :: contract :: Signature :: new ([149 , 216 , 155 , 65]) } # [doc = "Returns signature for method `totalSupply():(uint256)`."] # [allow (clippy :: type_complexity)] pub fn total_supply (& self) -> self :: ethcontract :: contract :: Signature < () , self :: ethcontract :: U256 > { self :: ethcontract :: contract :: Signature :: new ([24 , 22 , 13 , 221]) } # [doc = "Returns signature for method `transfer(address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([169 , 5 , 156 , 187]) } # [doc = "Returns signature for method `transferFrom(address,address,uint256):(bool)`."] # [allow (clippy :: type_complexity)] pub fn transfer_from (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 ,) , bool > { self :: ethcontract :: contract :: Signature :: new ([35 , 184 , 114 , 221]) } # [doc = "Returns signature for method `updateWeightsGradually(uint256,uint256,uint256[])`."] # [allow (clippy :: type_complexity)] pub fn update_weights_gradually (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 > ,) , () > { self :: ethcontract :: contract :: Signature :: new ([62 , 86 , 146 , 5]) } # [doc = "Returns signature for method `withdrawCollectedManagementFees(address)`."] # [allow (clippy :: type_complexity)] pub fn withdraw_collected_management_fees (& self) -> self :: ethcontract :: contract :: Signature < (self :: ethcontract :: Address ,) , () > { self :: ethcontract :: contract :: Signature :: new ([91 , 119 , 21 , 94]) } } # [doc = r" Type containing all contract methods for generated contract type."] # [derive (Clone)] pub struct Methods { instance : self :: ethcontract :: dyns :: DynInstance , } # [allow (clippy :: too_many_arguments , clippy :: type_complexity)] impl Methods { # [doc = "Generated by `ethcontract`"] pub fn domain_separator (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([54 , 68 , 229 , 21] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn allowance (& self , owner : self :: ethcontract :: Address , spender : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([221 , 98 , 237 , 62] , (owner , spender ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn approve (& self , spender : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([9 , 94 , 167 , 179] , (spender , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn balance_of (& self , account : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([112 , 160 , 130 , 49] , (account ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn decimals (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < u8 > { self . instance . view_method ([49 , 60 , 229 , 103] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn decrease_allowance (& self , spender : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([164 , 87 , 194 , 215] , (spender , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_action_id (& self , selector : self :: ethcontract :: tokens :: Bytes < [u8 ; 4] >) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([133 , 28 , 27 , 179] , (selector ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_authorizer (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([170 , 171 , 173 , 197] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_collected_management_fees (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < (Vec < self :: ethcontract :: Address > , Vec < self :: ethcontract :: U256 >) > { self . instance . view_method ([50 , 241 , 68 , 245] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_gradual_weight_update_params (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < (self :: ethcontract :: U256 , self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . view_method ([123 , 238 , 210 , 32] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_invariant (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([192 , 255 , 26 , 21] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_last_invariant (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([155 , 2 , 205 , 222] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_management_swap_fee_percentage (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([144 , 96 , 95 , 58] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_minimum_weight_change_duration (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([179 , 34 , 199 , 155] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_normalized_weights (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < Vec < self :: ethcontract :: U256 > > { self . instance . view_method ([248 , 159 , 39 , 237] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_owner (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([137 , 61 , 32 , 232] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_paused_state (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < (bool , self :: ethcontract :: U256 , self :: ethcontract :: U256) > { self . instance . view_method ([28 , 13 , 224 , 81] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_pool_id (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > > { self . instance . view_method ([56 , 255 , 242 , 208] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_rate (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([103 , 154 , 239 , 206] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_scaling_factors (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < Vec < self :: ethcontract :: U256 > > { self . instance . view_method ([29 , 215 , 70 , 234] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_swap_enabled (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < bool > { self . instance . view_method ([71 , 188 , 77 , 146] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_swap_fee_percentage (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([85 , 198 , 118 , 40] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn get_vault (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: Address > { self . instance . view_method ([141 , 146 , 138 , 248] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn increase_allowance (& self , spender : self :: ethcontract :: Address , added_value : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([57 , 80 , 147 , 81] , (spender , added_value ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn name (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([6 , 253 , 222 , 3] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn nonces (& self , owner : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([126 , 206 , 190 , 0] , (owner ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_exit_pool (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([116 , 243 , 176 , 9] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_join_pool (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (Vec < self :: ethcontract :: U256 > , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([213 , 192 , 150 , 196] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn on_swap (& self , swap_request : (u8 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: U256 , self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , self :: ethcontract :: U256 , self :: ethcontract :: Address , self :: ethcontract :: Address , self :: ethcontract :: tokens :: Bytes < Vec < u8 >> ,) , current_balance_token_in : self :: ethcontract :: U256 , current_balance_token_out : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < self :: ethcontract :: U256 > { self . instance . method ([157 , 44 , 17 , 12] , (swap_request , current_balance_token_in , current_balance_token_out ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn permit (& self , owner : self :: ethcontract :: Address , spender : self :: ethcontract :: Address , value : self :: ethcontract :: U256 , deadline : self :: ethcontract :: U256 , v : u8 , r : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , s : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] >) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([213 , 5 , 172 , 207] , (owner , spender , value , deadline , v , r , s ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn query_exit (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([96 , 40 , 191 , 212] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn query_join (& self , pool_id : self :: ethcontract :: tokens :: Bytes < [u8 ; 32] > , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , balances : Vec < self :: ethcontract :: U256 > , last_change_block : self :: ethcontract :: U256 , protocol_swap_fee_percentage : self :: ethcontract :: U256 , user_data : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < (self :: ethcontract :: U256 , Vec < self :: ethcontract :: U256 >) > { self . instance . method ([135 , 236 , 104 , 23] , (pool_id , sender , recipient , balances , last_change_block , protocol_swap_fee_percentage , user_data ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_asset_manager_pool_config (& self , token : self :: ethcontract :: Address , pool_config : self :: ethcontract :: tokens :: Bytes < Vec < u8 >>) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([80 , 221 , 110 , 217] , (token , pool_config ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_paused (& self , paused : bool) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([22 , 195 , 139 , 60] , (paused ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_swap_enabled (& self , swap_enabled : bool) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([224 , 26 , 249 , 44] , (swap_enabled ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn set_swap_fee_percentage (& self , swap_fee_percentage : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([56 , 233 , 146 , 46] , (swap_fee_percentage ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn symbol (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < String > { self . instance . view_method ([149 , 216 , 155 , 65] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn total_supply (& self) -> self :: ethcontract :: dyns :: DynViewMethodBuilder < self :: ethcontract :: U256 > { self . instance . view_method ([24 , 22 , 13 , 221] , ()) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer (& self , recipient : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([169 , 5 , 156 , 187] , (recipient , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn transfer_from (& self , sender : self :: ethcontract :: Address , recipient : self :: ethcontract :: Address , amount : self :: ethcontract :: U256) -> self :: ethcontract :: dyns :: DynMethodBuilder < bool > { self . instance . method ([35 , 184 , 114 , 221] , (sender , recipient , amount ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn update_weights_gradually (& self , start_time : self :: ethcontract :: U256 , end_time : self :: ethcontract :: U256 , end_weights : Vec < self :: ethcontract :: U256 >) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([62 , 86 , 146 , 5] , (start_time , end_time , end_weights ,)) . expect ("generated call") } # [doc = "Generated by `ethcontract`"] pub fn withdraw_collected_management_fees (& self , recipient : self :: ethcontract :: Address) -> self :: ethcontract :: dyns :: DynMethodBuilder < () > { self . instance . method ([91 , 119 , 21 , 94] , (recipient ,)) . expect ("generated call") } } impl std :: ops :: Deref for Contract { type Target = Methods ; fn deref (& self) -> & Self :: Target { & self . methods } } # [doc = r" Module containing all generated data models for this contract's"] # [doc = r" events."] pub mod event_data { use super :: ethcontract ; # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Approval { pub owner : self :: ethcontract :: Address , pub spender : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Approval { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Approval(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Approval(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Approval { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (owner , spender , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Approval { owner , spender , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct GradualWeightUpdateScheduled { pub start_time : self :: ethcontract :: U256 , pub end_time : self :: ethcontract :: U256 , pub start_weights : Vec < self :: ethcontract :: U256 > , pub end_weights : Vec < self :: ethcontract :: U256 > , } impl GradualWeightUpdateScheduled { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`GradualWeightUpdateScheduled(uint256,uint256,uint256[],uint256[])`"] pub fn abi_signature () -> & 'static str { "GradualWeightUpdateScheduled(uint256,uint256,uint256[],uint256[])" } } impl self :: ethcontract :: tokens :: Tokenize for GradualWeightUpdateScheduled { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (start_time , end_time , start_weights , end_weights ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (GradualWeightUpdateScheduled { start_time , end_time , start_weights , end_weights }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct ManagementFeePercentageChanged { pub management_fee_percentage : self :: ethcontract :: U256 , } impl ManagementFeePercentageChanged { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([235 , 169 , 158 , 158 , 54 , 223 , 121 , 3 , 20 , 147 , 239 , 216 , 71 , 60 , 252 , 229 , 71 , 93 , 58 , 19 , 88 , 120 , 102 , 84 , 144 , 223 , 139 , 1 , 64 , 105 , 50 , 16]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`ManagementFeePercentageChanged(uint256)`"] pub fn abi_signature () -> & 'static str { "ManagementFeePercentageChanged(uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for ManagementFeePercentageChanged { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (management_fee_percentage ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (ManagementFeePercentageChanged { management_fee_percentage }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct ManagementFeesCollected { pub tokens : Vec < self :: ethcontract :: Address > , pub amounts : Vec < self :: ethcontract :: U256 > , } impl ManagementFeesCollected { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([92 , 248 , 221 , 77 , 222 , 173 , 237 , 33 , 197 , 227 , 220 , 64 , 67 , 7 , 63 , 167 , 101 , 144 , 137 , 224 , 209 , 29 , 132 , 128 , 52 , 70 , 99 , 0 , 141 , 255 , 6 , 15]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`ManagementFeesCollected(address[],uint256[])`"] pub fn abi_signature () -> & 'static str { "ManagementFeesCollected(address[],uint256[])" } } impl self :: ethcontract :: tokens :: Tokenize for ManagementFeesCollected { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (tokens , amounts ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (ManagementFeesCollected { tokens , amounts }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct PausedStateChanged { pub paused : bool , } impl PausedStateChanged { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`PausedStateChanged(bool)`"] pub fn abi_signature () -> & 'static str { "PausedStateChanged(bool)" } } impl self :: ethcontract :: tokens :: Tokenize for PausedStateChanged { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (paused ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (PausedStateChanged { paused }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct SwapEnabledSet { pub swap_enabled : bool , } impl SwapEnabledSet { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`SwapEnabledSet(bool)`"] pub fn abi_signature () -> & 'static str { "SwapEnabledSet(bool)" } } impl self :: ethcontract :: tokens :: Tokenize for SwapEnabledSet { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (swap_enabled ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (SwapEnabledSet { swap_enabled }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct SwapFeePercentageChanged { pub swap_fee_percentage : self :: ethcontract :: U256 , } impl SwapFeePercentageChanged { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`SwapFeePercentageChanged(uint256)`"] pub fn abi_signature () -> & 'static str { "SwapFeePercentageChanged(uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for SwapFeePercentageChanged { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (swap_fee_percentage ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (SwapFeePercentageChanged { swap_fee_percentage }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } # [derive (Clone , Debug , Default , Eq , PartialEq ,)] pub struct Transfer { pub from : self :: ethcontract :: Address , pub to : self :: ethcontract :: Address , pub value : self :: ethcontract :: U256 , } impl Transfer { # [doc = r" Retrieves the signature for the event this data corresponds to."] # [doc = r" This signature is the Keccak-256 hash of the ABI signature of"] # [doc = r" this event."] pub fn signature () -> self :: ethcontract :: H256 { self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) } # [doc = r" Retrieves the ABI signature for the event this data corresponds"] # [doc = r" to. For this event the value should always be:"] # [doc = r""] # [doc = "`Transfer(address,address,uint256)`"] pub fn abi_signature () -> & 'static str { "Transfer(address,address,uint256)" } } impl self :: ethcontract :: tokens :: Tokenize for Transfer { fn from_token (token : self :: ethcontract :: common :: abi :: Token ,) -> Result < Self , self :: ethcontract :: tokens :: Error > { let (from , to , value ,) = self :: ethcontract :: tokens :: Tokenize :: from_token (token) ? ; Ok (Transfer { from , to , value }) } fn into_token (self) -> self :: ethcontract :: common :: abi :: Token { unimplemented ! ("events are only decoded, not encoded") } } } impl Contract { # [doc = r" Retrieves a handle to a type containing for creating event"] # [doc = r" streams for all the contract events."] pub fn events (& self) -> Events < '_ > { Events { instance : self . raw_instance () , } } } pub struct Events < 'a > { instance : & 'a self :: ethcontract :: dyns :: DynInstance , } impl Events < '_ > { # [doc = r" Generated by `ethcontract`."] pub fn approval (& self) -> self :: event_builders :: ApprovalBuilder { self :: event_builders :: ApprovalBuilder (self . instance . event (self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn gradual_weight_update_scheduled (& self) -> self :: event_builders :: GradualWeightUpdateScheduledBuilder { self :: event_builders :: GradualWeightUpdateScheduledBuilder (self . instance . event (self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn management_fee_percentage_changed (& self) -> self :: event_builders :: ManagementFeePercentageChangedBuilder { self :: event_builders :: ManagementFeePercentageChangedBuilder (self . instance . event (self :: ethcontract :: H256 ([235 , 169 , 158 , 158 , 54 , 223 , 121 , 3 , 20 , 147 , 239 , 216 , 71 , 60 , 252 , 229 , 71 , 93 , 58 , 19 , 88 , 120 , 102 , 84 , 144 , 223 , 139 , 1 , 64 , 105 , 50 , 16])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn management_fees_collected (& self) -> self :: event_builders :: ManagementFeesCollectedBuilder { self :: event_builders :: ManagementFeesCollectedBuilder (self . instance . event (self :: ethcontract :: H256 ([92 , 248 , 221 , 77 , 222 , 173 , 237 , 33 , 197 , 227 , 220 , 64 , 67 , 7 , 63 , 167 , 101 , 144 , 137 , 224 , 209 , 29 , 132 , 128 , 52 , 70 , 99 , 0 , 141 , 255 , 6 , 15])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn paused_state_changed (& self) -> self :: event_builders :: PausedStateChangedBuilder { self :: event_builders :: PausedStateChangedBuilder (self . instance . event (self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn swap_enabled_set (& self) -> self :: event_builders :: SwapEnabledSetBuilder { self :: event_builders :: SwapEnabledSetBuilder (self . instance . event (self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn swap_fee_percentage_changed (& self) -> self :: event_builders :: SwapFeePercentageChangedBuilder { self :: event_builders :: SwapFeePercentageChangedBuilder (self . instance . event (self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252])) . expect ("generated event filter") ,) } # [doc = r" Generated by `ethcontract`."] pub fn transfer (& self) -> self :: event_builders :: TransferBuilder { self :: event_builders :: TransferBuilder (self . instance . event (self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239])) . expect ("generated event filter") ,) } } # [doc = r" Module containing the generated event stream builders with type safe"] # [doc = r" filter methods for this contract's events."] pub mod event_builders { use super :: ethcontract ; use super :: event_data ; # [doc = "A builder for creating a filtered stream of `Approval` events."] pub struct ApprovalBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Approval > ,) ; impl ApprovalBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the owner event parameter."] pub fn owner (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the spender event parameter."] pub fn spender (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Approval >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Approval > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `GradualWeightUpdateScheduled` events."] pub struct GradualWeightUpdateScheduledBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: GradualWeightUpdateScheduled > ,) ; impl GradualWeightUpdateScheduledBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: GradualWeightUpdateScheduled >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: GradualWeightUpdateScheduled > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `ManagementFeePercentageChanged` events."] pub struct ManagementFeePercentageChangedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: ManagementFeePercentageChanged > ,) ; impl ManagementFeePercentageChangedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: ManagementFeePercentageChanged >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: ManagementFeePercentageChanged > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `ManagementFeesCollected` events."] pub struct ManagementFeesCollectedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: ManagementFeesCollected > ,) ; impl ManagementFeesCollectedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: ManagementFeesCollected >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: ManagementFeesCollected > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `PausedStateChanged` events."] pub struct PausedStateChangedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: PausedStateChanged > ,) ; impl PausedStateChangedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: PausedStateChanged >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: PausedStateChanged > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `SwapEnabledSet` events."] pub struct SwapEnabledSetBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: SwapEnabledSet > ,) ; impl SwapEnabledSetBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: SwapEnabledSet >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: SwapEnabledSet > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `SwapFeePercentageChanged` events."] pub struct SwapFeePercentageChangedBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: SwapFeePercentageChanged > ,) ; impl SwapFeePercentageChangedBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: SwapFeePercentageChanged >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: SwapFeePercentageChanged > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } # [doc = "A builder for creating a filtered stream of `Transfer` events."] pub struct TransferBuilder (# [doc = r" The inner event builder."] pub self :: ethcontract :: dyns :: DynEventBuilder < self :: event_data :: Transfer > ,) ; impl TransferBuilder { # [doc = r" Sets the starting block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the latest block."] # [allow (clippy :: wrong_self_convention)] pub fn from_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . from_block (block) ; self } # [doc = r" Sets the last block from which to stream logs for."] # [doc = r""] # [doc = r" If left unset defaults to the streaming until the end of days."] # [allow (clippy :: wrong_self_convention)] pub fn to_block (mut self , block : self :: ethcontract :: BlockNumber) -> Self { self . 0 = (self . 0) . to_block (block) ; self } # [doc = r" Limits the number of events that can be retrieved by this filter."] # [doc = r""] # [doc = r" Note that this parameter is non-standard."] pub fn limit (mut self , value : usize) -> Self { self . 0 = (self . 0) . limit (value) ; self } # [doc = r" Sets the polling interval. This is used as the interval between"] # [doc = r" consecutive `eth_getFilterChanges` calls to get filter updates."] pub fn poll_interval (mut self , value : std :: time :: Duration) -> Self { self . 0 = (self . 0) . poll_interval (value) ; self } # [doc = "Adds a filter for the from event parameter."] pub fn from (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic0 (topic) ; self } # [doc = "Adds a filter for the to event parameter."] pub fn to (mut self , topic : self :: ethcontract :: Topic < self :: ethcontract :: Address >) -> Self { self . 0 = (self . 0) . topic1 (topic) ; self } # [doc = r" Returns a future that resolves with a collection of all existing"] # [doc = r" logs matching the builder parameters."] pub async fn query (self) -> std :: result :: Result < std :: vec :: Vec < self :: ethcontract :: Event < self :: event_data :: Transfer >> , self :: ethcontract :: errors :: EventError , > { (self . 0) . query () . await } # [doc = r" Creates an event stream from the current event builder."] pub fn stream (self) -> impl self :: ethcontract :: futures :: stream :: Stream < Item = std :: result :: Result < self :: ethcontract :: StreamEvent < self :: event_data :: Transfer > , self :: ethcontract :: errors :: EventError , > , > { (self . 0) . stream () } } } impl Contract { # [doc = r" Returns a log stream with all events."] pub fn all_events (& self) -> self :: ethcontract :: dyns :: DynAllEventsBuilder < Event > { self :: ethcontract :: dyns :: DynAllEventsBuilder :: new (self . raw_instance () . web3 () , self . address () , self . deployment_information () ,) } } # [doc = r" A contract event."] # [derive (Clone , Debug , Eq , PartialEq ,)] pub enum Event { Approval (self :: event_data :: Approval) , GradualWeightUpdateScheduled (self :: event_data :: GradualWeightUpdateScheduled) , ManagementFeePercentageChanged (self :: event_data :: ManagementFeePercentageChanged) , ManagementFeesCollected (self :: event_data :: ManagementFeesCollected) , PausedStateChanged (self :: event_data :: PausedStateChanged) , SwapEnabledSet (self :: event_data :: SwapEnabledSet) , SwapFeePercentageChanged (self :: event_data :: SwapFeePercentageChanged) , Transfer (self :: event_data :: Transfer) , } impl self :: ethcontract :: contract :: ParseLog for Event { fn parse_log (log : self :: ethcontract :: RawLog ,) -> Result < Self , self :: ethcontract :: errors :: ExecutionError > { let standard_event = log . topics . get (0) . copied () . map (| topic | match topic { self :: ethcontract :: H256 ([140 , 91 , 225 , 229 , 235 , 236 , 125 , 91 , 209 , 79 , 113 , 66 , 125 , 30 , 132 , 243 , 221 , 3 , 20 , 192 , 247 , 178 , 41 , 30 , 91 , 32 , 10 , 200 , 199 , 195 , 185 , 37]) => Ok (Event :: Approval (log . clone () . decode (Contract :: raw_contract () . abi . event ("Approval") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([15 , 54 , 49 , 249 , 218 , 176 , 129 , 105 , 209 , 219 , 33 , 198 , 220 , 95 , 50 , 83 , 111 , 178 , 176 , 166 , 185 , 187 , 83 , 48 , 215 , 28 , 82 , 19 , 47 , 150 , 139 , 224]) => Ok (Event :: GradualWeightUpdateScheduled (log . clone () . decode (Contract :: raw_contract () . abi . event ("GradualWeightUpdateScheduled") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([235 , 169 , 158 , 158 , 54 , 223 , 121 , 3 , 20 , 147 , 239 , 216 , 71 , 60 , 252 , 229 , 71 , 93 , 58 , 19 , 88 , 120 , 102 , 84 , 144 , 223 , 139 , 1 , 64 , 105 , 50 , 16]) => Ok (Event :: ManagementFeePercentageChanged (log . clone () . decode (Contract :: raw_contract () . abi . event ("ManagementFeePercentageChanged") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([92 , 248 , 221 , 77 , 222 , 173 , 237 , 33 , 197 , 227 , 220 , 64 , 67 , 7 , 63 , 167 , 101 , 144 , 137 , 224 , 209 , 29 , 132 , 128 , 52 , 70 , 99 , 0 , 141 , 255 , 6 , 15]) => Ok (Event :: ManagementFeesCollected (log . clone () . decode (Contract :: raw_contract () . abi . event ("ManagementFeesCollected") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([158 , 58 , 94 , 55 , 34 , 69 , 50 , 222 , 166 , 123 , 137 , 250 , 206 , 24 , 87 , 3 , 115 , 138 , 34 , 138 , 110 , 138 , 35 , 222 , 229 , 70 , 150 , 1 , 128 , 211 , 190 , 100]) => Ok (Event :: PausedStateChanged (log . clone () . decode (Contract :: raw_contract () . abi . event ("PausedStateChanged") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([90 , 158 , 132 , 247 , 143 , 121 , 87 , 203 , 78 , 215 , 71 , 142 , 176 , 252 , 173 , 53 , 238 , 78 , 203 , 226 , 224 , 242 , 152 , 66 , 11 , 40 , 163 , 149 , 83 , 146 , 87 , 63]) => Ok (Event :: SwapEnabledSet (log . clone () . decode (Contract :: raw_contract () . abi . event ("SwapEnabledSet") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([169 , 186 , 63 , 254 , 11 , 108 , 54 , 107 , 129 , 35 , 44 , 170 , 179 , 134 , 5 , 160 , 105 , 154 , 213 , 57 , 141 , 108 , 206 , 118 , 249 , 30 , 232 , 9 , 227 , 34 , 218 , 252]) => Ok (Event :: SwapFeePercentageChanged (log . clone () . decode (Contract :: raw_contract () . abi . event ("SwapFeePercentageChanged") . expect ("generated event decode")) ?)) , self :: ethcontract :: H256 ([221 , 242 , 82 , 173 , 27 , 226 , 200 , 155 , 105 , 194 , 176 , 104 , 252 , 55 , 141 , 170 , 149 , 43 , 167 , 241 , 99 , 196 , 161 , 22 , 40 , 245 , 90 , 77 , 245 , 35 , 179 , 239]) => Ok (Event :: Transfer (log . clone () . decode (Contract :: raw_contract () . abi . event ("Transfer") . expect ("generated event decode")) ?)) , _ => Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) , }) ; if let Some (Ok (data)) = standard_event { return Ok (data) ; } Err (self :: ethcontract :: errors :: ExecutionError :: from (self :: ethcontract :: common :: abi :: Error :: InvalidData)) } } } pub use self :: managed_pool :: Contract as ManagedPool ;
  • bcder 0.7.1/src/decode/content.rs
    113
    #[allow(clippy::wrong_self_convention)]
    114
    impl<'a, S: Source + 'a> Content<'a, S> {
    270
    ///
    271
    #[allow(clippy::wrong_self_convention)]
    272
    impl<'a, S: Source + 'a> Primitive<'a, S> {
  • bee-block 1.0.1/src/address/mod.rs
    82
        /// Encodes this address to a bech32 string with the given Human Readable Part as prefix.
    83
        #[allow(clippy::wrong_self_convention)]
    84
        pub fn to_bech32<T: AsRef<str>>(&self, hrp: T) -> String {
  • bee-message 0.2.0/src/address/mod.rs
    45
        /// Encodes this address to a Bech32 string with the hrp (human readable part) argument as prefix.
    46
        #[allow(clippy::wrong_self_convention)]
    47
        pub fn to_bech32(&self, hrp: &str) -> String {
  • bee-ternary 1.0.0/src/raw.rs
    102
        /// TODO: Rename this `reencode`
    103
        #[allow(clippy::wrong_self_convention)]
    104
        fn into_encoding<T: RawEncodingBuf>(this: TritBuf<Self>) -> TritBuf<T>
  • bevy_ptr 0.9.1/src/lib.rs
    124
        #[inline]
    125
        #[allow(clippy::wrong_self_convention)]
    126
        pub fn as_ptr(self) -> *mut u8 {
    154
        #[inline]
    155
        #[allow(clippy::wrong_self_convention)]
    156
        pub fn as_ptr(&self) -> *mut u8 {
    193
        #[inline]
    194
        #[allow(clippy::wrong_self_convention)]
    195
        pub fn as_ptr(&self) -> *mut u8 {
  • binary_codec_sv2 0.1.2/src/codec/encodable.rs
    8
    pub trait Encodable {
    9
        #[allow(clippy::wrong_self_convention)]
    10
        fn to_bytes(self, dst: &mut [u8]) -> Result<usize, Error>;
    12
        #[cfg(not(feature = "no_std"))]
    13
        #[allow(clippy::wrong_self_convention)]
    14
        fn to_writer(self, dst: &mut impl Write) -> Result<(), E>;
    18
    impl<'a, T: Into<EncodableField<'a>>> Encodable for T {
    19
        #[allow(clippy::wrong_self_convention)]
    20
        fn to_bytes(self, dst: &mut [u8]) -> Result<usize, Error> {
    25
        #[cfg(not(feature = "no_std"))]
    26
        #[allow(clippy::wrong_self_convention)]
    27
        fn to_writer(self, dst: &mut impl Write) -> Result<(), E> {
  • binary_codec_sv2 0.1.2/src/lib.rs
    41
    #[allow(clippy::wrong_self_convention)]
    42
    pub fn to_bytes<T: Encodable + GetSize>(src: T) -> Result<Vec<u8>, Error> {
    48
    #[allow(clippy::wrong_self_convention)]
    49
    pub fn to_writer<T: Encodable>(src: T, dst: &mut [u8]) -> Result<(), Error> {
    140
        /// owner drop them the CVec will point to garbage.
    141
        #[allow(clippy::wrong_self_convention)]
    142
        pub fn as_shared_buffer(v: &mut [u8]) -> Self {
  • binstall-zip 0.6.4/src/cp437.rs
    9
        /// Generally allocations will be avoided if all data falls into the ASCII range.
    10
        #[allow(clippy::wrong_self_convention)]
    11
        fn from_cp437(self) -> Self::Target;
  • bio 1.1.0/src/io/bed.rs
    90
        /// Write to a given file path.
    91
        #[allow(clippy::wrong_self_convention)]
    92
        pub fn to_file<P: AsRef<Path>>(path: P) -> io::Result<Self> {
  • bio 1.1.0/src/io/fasta.rs
    800
        /// Write to the given file path.
    801
        #[allow(clippy::wrong_self_convention)]
    802
        pub fn to_file<P: AsRef<Path>>(path: P) -> io::Result<Self> {
  • bio 1.1.0/src/io/fastq.rs
    518
        /// Write to a given file path.
    519
        #[allow(clippy::wrong_self_convention)]
    520
        pub fn to_file<P: AsRef<Path>>(path: P) -> io::Result<Self> {
  • bio 1.1.0/src/io/gff.rs
    212
        /// Write to a given file path in given format.
    213
        #[allow(clippy::wrong_self_convention)]
    214
        pub fn to_file<P: AsRef<Path>>(path: P, fileformat: GffType) -> io::Result<Self> {
  • biogarden 0.1.0/src/io/fasta.rs
    146
        /// Write to the given file path.
    147
        #[allow(clippy::wrong_self_convention)]
    148
        pub fn to_file<P: AsRef<Path>>(path: P) -> io::Result<Self> {
  • bitcoin 0.29.2/src/blockdata/transaction.rs
    505
        /// ```
    506
        #[allow(clippy::wrong_self_convention)] // E is not Copy so we consume self.
    507
        pub fn is_sighash_single_bug(self) -> Result<bool, E> {
  • bitcoincash 0.29.2/src/blockdata/transaction.rs
    518
        /// ```
    519
        #[allow(clippy::wrong_self_convention)] // E is not Copy so we consume self.
    520
        pub fn is_sighash_single_bug(self) -> Result<bool, E> {
  • blake2 0.10.6/src/simd.rs
    18
        #[allow(clippy::wrong_self_convention)]
    19
        fn from_le(self) -> Self;
  • blynk_io 0.3.0/src/blocking.rs
    220
        #[allow(clippy::wrong_self_convention)]
    221
        fn is_server_alive(&mut self) -> bool {
  • Boa 0.13.1/src/builtins/array/mod.rs
    765
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString
    766
        #[allow(clippy::wrong_self_convention)]
    767
        pub(crate) fn to_string(
  • Boa 0.13.1/src/builtins/bigint/mod.rs
    128
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString
    129
        #[allow(clippy::wrong_self_convention)]
    130
        pub(crate) fn to_string(
    195
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asIntN
    196
        #[allow(clippy::wrong_self_convention)]
    197
        pub(crate) fn as_int_n(
    221
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asUintN
    222
        #[allow(clippy::wrong_self_convention)]
    223
        pub(crate) fn as_uint_n(
  • Boa 0.13.1/src/builtins/boolean/mod.rs
    111
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString
    112
        #[allow(clippy::wrong_self_convention)]
    113
        pub(crate) fn to_string(
  • Boa 0.13.1/src/builtins/date/mod.rs
    510
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
    511
        #[allow(clippy::wrong_self_convention)]
    512
        pub(crate) fn to_primitive(
    1625
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString
    1626
        #[allow(clippy::wrong_self_convention)]
    1627
        pub fn to_date_string(
    1671
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
    1672
        #[allow(clippy::wrong_self_convention)]
    1673
        pub fn to_iso_string(
    1699
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON
    1700
        #[allow(clippy::wrong_self_convention)]
    1701
        pub fn to_json(this: &JsValue, _: &[JsValue], context: &mut Context) -> JsResult<JsValue> {
    1732
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString
    1733
        #[allow(clippy::wrong_self_convention)]
    1734
        pub fn to_string(this: &JsValue, _: &[JsValue], context: &mut Context) -> JsResult<JsValue> {
  • boa_engine 0.16.0/src/builtins/array/mod.rs
    903
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString
    904
        #[allow(clippy::wrong_self_convention)]
    905
        pub(crate) fn to_string(
  • boa_engine 0.16.0/src/builtins/bigint/mod.rs
    158
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/toString
    159
        #[allow(clippy::wrong_self_convention)]
    160
        pub(crate) fn to_string(
    225
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asIntN
    226
        #[allow(clippy::wrong_self_convention)]
    227
        pub(crate) fn as_int_n(
    256
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt/asUintN
    257
        #[allow(clippy::wrong_self_convention)]
    258
        pub(crate) fn as_uint_n(
  • boa_engine 0.16.0/src/builtins/boolean/mod.rs
    96
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString
    97
        #[allow(clippy::wrong_self_convention)]
    98
        pub(crate) fn to_string(
  • boa_engine 0.16.0/src/builtins/date/mod.rs
    498
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
    499
        #[allow(clippy::wrong_self_convention)]
    500
        pub(crate) fn to_primitive(
    1619
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toDateString
    1620
        #[allow(clippy::wrong_self_convention)]
    1621
        pub fn to_date_string(
    1670
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
    1671
        #[allow(clippy::wrong_self_convention)]
    1672
        pub fn to_iso_string(
    1698
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toJSON
    1699
        #[allow(clippy::wrong_self_convention)]
    1700
        pub fn to_json(this: &JsValue, _: &[JsValue], context: &mut Context) -> JsResult<JsValue> {
    1728
        /// [mdn]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toString
    1729
        #[allow(clippy::wrong_self_convention)]
    1730
        pub fn to_string(this: &JsValue, _: &[JsValue], context: &mut Context) -> JsResult<JsValue> {
  • bool_ext 0.5.3/src/lib.rs
    53
        /// ```
    54
        #[allow(clippy::wrong_self_convention)]
    55
        fn to_option(self) -> Option<()>;
    138
        /// ```
    139
        #[allow(clippy::wrong_self_convention, clippy::result_unit_err)]
    140
        fn to_result(self) -> Result<(), ()>;
  • buffered-reader 1.1.4/src/lib.rs
    884
        /// Boxes the reader.
    885
        #[allow(clippy::wrong_self_convention)]
    886
        fn as_boxed<'a>(self) -> Box<dyn BufferedReader<C> + 'a>
  • call-by 0.2.3/src/lib.rs
    179
        /// ```
    180
        #[allow(clippy::wrong_self_convention)]
    181
        fn convert(from: <Self as By<'a, From>>::Type) -> <Self as By<'a, To>>::Type;
    239
    pub trait As<'a, C: Convention, T: By<'a, C>>: By<'a, C> {
    240
        #[allow(clippy::wrong_self_convention)]
    241
        fn as_convention(this: <Self as By<'a, C>>::Type) -> <T as By<'a, C>>::Type;
  • callysto 0.1.9/src/stores/store.rs
    51
        #[allow(clippy::wrong_self_convention)]
    52
        fn into_service(&self) -> &dyn Service<State>;
  • casper-execution-engine 2.0.1/src/core/runtime/mod.rs
    243
        #[allow(clippy::wrong_self_convention)]
    244
        fn is_valid_uref(&mut self, uref_ptr: u32, uref_size: u32) -> Result<bool, Trap> {
  • casper-node 1.4.8/src/utils.rs
    331
    impl<I> Source<I> {
    332
        #[allow(clippy::wrong_self_convention)]
    333
        pub(crate) fn from_client(&self) -> bool {
  • cdshealpix 0.6.4/src/nested/bmoc.rs
    73
      #[allow(clippy::wrong_self_convention)]
    74
      pub fn to_bmoc(mut self) -> BMOC {
    79
      /// no cell included in another cell)
    80
      #[allow(clippy::wrong_self_convention)]
    81
      pub fn to_bmoc_from_unordered(mut self) -> BMOC {
    193
      #[allow(clippy::wrong_self_convention)]
    194
      pub fn to_bmoc_packing(&mut self) -> BMOC {
    199
      #[allow(clippy::wrong_self_convention)]
    200
      pub fn to_lower_depth_bmoc(&mut self, new_depth: u8) -> BMOC {
    206
      #[allow(clippy::wrong_self_convention)]
    207
      pub fn to_lower_depth_bmoc_packing(&mut self, new_depth: u8) -> BMOC {
  • cess-hashers 0.1.0/src/types.rs
    37
    {
    38
        #[allow(clippy::wrong_self_convention)]
    39
        fn into_bytes(&self) -> Vec<u8>;
  • cexpr 0.6.0/src/expr.rs
    80
        #[allow(clippy::wrong_self_convention)]
    81
        fn as_numeric(self) -> Option<EvalResult> {
  • cglue 0.2.12/src/callback.rs
    122
    pub trait FromExtend<T>: Extend<T> + Sized {
    123
        #[allow(clippy::wrong_self_convention)]
    124
        fn from_extend(&mut self) -> OpaqueCallback<T> {
  • cgroups-rs 0.3.0/src/devices.rs
    56
        /// Convert a DeviceType into the character that the kernel recognizes.
    57
        #[allow(clippy::should_implement_trait, clippy::wrong_self_convention)]
    58
        pub fn to_char(&self) -> char {
    95
        /// Convert a DevicePermissions into the character that the kernel recognizes.
    96
        #[allow(clippy::should_implement_trait, clippy::wrong_self_convention)]
    97
        pub fn to_char(&self) -> char {
  • cgroups-rs 0.3.0/src/lib.rs
    888
    impl MaxValue {
    889
        #[allow(clippy::should_implement_trait, clippy::wrong_self_convention)]
    890
        fn to_i64(&self) -> i64 {
  • chromiumoxide_cdp 0.4.0/src/cdp.rs
    5580
    }
    5581
    #[allow(clippy::wrong_self_convention)]
    5582
    pub mod js_protocol {
    16324
    }
    16325
    #[allow(clippy::wrong_self_convention)]
    16326
    pub mod browser_protocol {
  • chrono 0.4.23/src/offset/mod.rs
    451
        /// Converts the local `NaiveDate` to the timezone-aware `Date` if possible.
    452
        #[allow(clippy::wrong_self_convention)]
    453
        #[deprecated(since = "0.4.23", note = "use `from_local_datetime()` instead")]
    462
        /// Converts the local `NaiveDateTime` to the timezone-aware `DateTime` if possible.
    463
        #[allow(clippy::wrong_self_convention)]
    464
        fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Self>> {
    476
        /// The UTC is continuous and thus this cannot fail (but can give the duplicate local time).
    477
        #[allow(clippy::wrong_self_convention)]
    478
        #[deprecated(since = "0.4.23", note = "use `from_utc_datetime()` instead")]
    485
        /// The UTC is continuous and thus this cannot fail (but can give the duplicate local time).
    486
        #[allow(clippy::wrong_self_convention)]
    487
        fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Self> {
  • chumsky 0.8.0/src/lib.rs
    1130
        /// ```
    1131
        #[allow(clippy::wrong_self_convention)]
    1132
        fn from_str<U>(self) -> Map<Self, fn(O) -> Result<U, U::Err>, O>
  • cid 0.10.1/src/cid.rs
    212
        #[cfg(feature = "alloc")]
    213
        #[allow(clippy::wrong_self_convention)]
    214
        fn to_string_v0(&self) -> String {
    218
        #[cfg(feature = "alloc")]
    219
        #[allow(clippy::wrong_self_convention)]
    220
        fn to_string_v1(&self) -> String {
  • cita-state 0.1.6/src/state.rs
    174
        /// EIP161 (balance = nonce = code = 0).
    175
        #[allow(clippy::wrong_self_convention)]
    176
        pub fn is_empty(&mut self, address: &Address) -> Result<bool, Error> {
  • cita-vm 0.3.4/src/state/state.rs
    189
        /// EIP161 (balance = nonce = code = 0).
    190
        #[allow(clippy::wrong_self_convention)]
    191
        pub fn is_empty(&mut self, address: &Address) -> Result<bool, Error> {
  • ckb-cli 1.4.0/src/utils/arg_parser.rs
    24
    #[allow(clippy::wrong_self_convention)]
    25
    pub trait ArgParser<T> {
  • ckb-sync 0.107.0/src/types/mod.rs
    191
        // wrong_self_convention allows is_* to take &mut self
    192
        #[allow(clippy::wrong_self_convention)]
    193
        pub(crate) fn is_timeout(&mut self, now_tip_ts: u64, now: u64) -> Option<bool> {
  • clap-v3 3.0.0-beta.1/src/parse/parser.rs
    899
        // allow wrong self convention due to self.valid_neg_num = true and it's a private method
    900
        #[allow(clippy::wrong_self_convention)]
    901
        fn is_new_arg(&mut self, arg_os: &OsStr, needs_val_of: ParseResult) -> bool {
  • cogo-redis 0.1.0/src/bytes/buf/buf_impl.rs
    784
        #[inline]
    785
        #[allow(clippy::wrong_self_convention)]
    786
        fn to_bytes(&mut self) -> crate::bytes::Bytes {
  • color-eyre 0.6.2/src/section/github.rs
    137
        // `&self` shared reference via the Display trait
    138
        #[allow(clippy::inherent_to_string, clippy::wrong_self_convention)]
    139
        fn to_string(self) -> String {
  • colored_json 3.0.1/src/lib.rs
    236
        #[allow(clippy::wrong_self_convention)]
    237
        pub fn to_colored_json_auto(self, value: &Value) -> serde_json::Result<String> {
    241
        #[allow(clippy::wrong_self_convention)]
    242
        pub fn to_colored_json(self, value: &Value, mode: ColorMode) -> serde_json::Result<String> {
  • combine 4.6.6/src/error.rs
    47
        #[allow(clippy::wrong_self_convention)]
    48
        fn into_info(&'s self) -> Info<T, R, Self::Format>;
  • condor 0.1.6/src/other_crates/indicatif/draw_target.rs
    76
        /// Will panic if refresh_rate is `Some(0)`. To disable rate limiting use `None` instead.
    77
        #[allow(clippy::wrong_self_convention)]
    78
        #[deprecated(since = "0.16.0", note = "Use `ProgressDrawTarget::term` instead")]
  • conjure-codegen 3.5.0/src/context.rs
    875
        #[allow(clippy::wrong_self_convention)]
    876
        pub fn from_ident(&self, name: &TypeName) -> TokenStream {
    880
        #[allow(clippy::wrong_self_convention)]
    881
        pub fn into_ident(&self, name: &TypeName) -> TokenStream {
    889
        #[allow(clippy::wrong_self_convention)]
    890
        pub fn into_iterator_ident(&self, name: &TypeName) -> TokenStream {
  • convert_case 0.6.0/src/lib.rs
    234
        /// ```
    235
        #[allow(clippy::wrong_self_convention)]
    236
        fn from_case(&self, case: Case) -> StateConverter<T>;
  • copse 0.4.0/src/polyfill.rs
    194
        #[allow(clippy::wrong_self_convention)]
    195
        pub trait SlicePtrGet {
    203
        #[allow(clippy::wrong_self_convention)]
    204
        pub trait SlicePtrGetMut: SlicePtrGet {
    276
        #[allow(clippy::wrong_self_convention)]
    277
        pub trait IterIsSorted: Iterator {
  • coreutils 0.0.17/tests/common/util.rs
    1536
        /// Return true if the child process is exited and false otherwise.
    1537
        #[allow(clippy::wrong_self_convention)]
    1538
        pub fn is_not_alive(&mut self) -> bool {
  • coreutils_json 0.5.1/src/lib.rs
    16
        #[allow(clippy::wrong_self_convention)]
    17
        pub fn from_json<'a, T: serde::de::Deserialize<'a>>(
  • cpython 0.7.1/src/serde/ser.rs
    116
        #[allow(clippy::wrong_self_convention)]
    117
        fn to_object<T: Serialize + ?Sized>(py: Python, value: &T) -> Result<PyObject> {
  • cranelift-codegen-meta 0.92.0/src/cdsl/instructions.rs
    174
        #[allow(clippy::wrong_self_convention)]
    175
        pub fn is_terminator(mut self, val: bool) -> Self {
    180
        #[allow(clippy::wrong_self_convention)]
    181
        pub fn is_branch(mut self, val: bool) -> Self {
    186
        #[allow(clippy::wrong_self_convention)]
    187
        pub fn is_call(mut self, val: bool) -> Self {
    192
        #[allow(clippy::wrong_self_convention)]
    193
        pub fn is_return(mut self, val: bool) -> Self {
  • cretonne-codegen 0.13.2/src/regalloc/solver.rs
    296
        /// Get the "from" register and register class, if possible.
    297
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    298
        fn from_reg(&self) -> Option<(RegClass, RegUnit)> {
  • crosvm_data_model 0.1.0-gamma.0/src/sys/unix.rs
    114
        /// Converts a slice of `IoBufMut`s into a slice of `iovec`s.
    115
        #[allow(clippy::wrong_self_convention)]
    116
        #[inline]
  • crosvm_data_model 0.1.0-gamma.0/src/volatile_memory.rs
    151
        /// Converts a slice of `VolatileSlice`s into a slice of `IoBufMut`s
    152
        #[allow(clippy::wrong_self_convention)]
    153
        pub fn as_iobufs<'mem, 'slice>(
  • cruiser_derive 0.2.0/src/account_argument.rs
    528
        //noinspection RsSelfConvention
    529
        #[allow(clippy::wrong_self_convention)]
    530
        fn from_accounts(
    907
        //noinspection RsSelfConvention
    908
        #[allow(clippy::wrong_self_convention)]
    909
        fn from_accounts(
    1021
        //noinspection RsSelfConvention
    1022
        #[allow(clippy::wrong_self_convention)]
    1023
        fn from_accounts(
    1081
        //noinspection RsSelfConvention
    1082
        #[allow(clippy::wrong_self_convention)]
    1083
        fn from_accounts(
  • curve25519-dalek 4.0.0-rc.0/src/backend/serial/u32/scalar.rs
    383
        /// Takes a Scalar29 out of Montgomery form, i.e. computes `a/R (mod l)`
    384
        #[allow(clippy::wrong_self_convention)]
    385
        pub fn from_montgomery(&self) -> Scalar29 {
  • curve25519-dalek 4.0.0-rc.0/src/backend/serial/u64/scalar.rs
    312
        /// Takes a Scalar52 out of Montgomery form, i.e. computes `a/R (mod l)`
    313
        #[allow(clippy::wrong_self_convention)]
    314
        #[inline(never)]
  • cust 0.3.2/src/memory/device/device_box.rs
    341
        /// ```
    342
        #[allow(clippy::wrong_self_convention)]
    343
        pub fn into_device(mut b: DeviceBox<T>) -> DevicePointer<T> {
  • cust 0.3.2/src/memory/unified.rs
    166
        /// ```
    167
        #[allow(clippy::wrong_self_convention)]
    168
        pub fn into_unified(mut b: UnifiedBox<T>) -> UnifiedPointer<T> {
  • darling_core 0.14.2/src/from_meta.rs
    156
        #[allow(clippy::wrong_self_convention)] // false positive
    157
        fn from_bool(value: bool) -> Result<Self> {
    174
    impl FromMeta for char {
    175
        #[allow(clippy::wrong_self_convention)] // false positive
    176
        fn from_char(value: char) -> Result<Self> {
  • dashmap-shard 0.1.1/src/map.rs
    1355
        #[inline]
    1356
        #[allow(clippy::wrong_self_convention)]
    1357
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> RawEntryMut<'a, K, V, S>
    1368
        #[inline]
    1369
        #[allow(clippy::wrong_self_convention)]
    1370
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> RawEntryMut<'a, K, V, S>
    1384
        #[inline]
    1385
        #[allow(clippy::wrong_self_convention)]
    1386
        pub fn from_hash<F>(self, hash: u64, is_match: F) -> RawEntryMut<'a, K, V, S>
    1416
        #[inline]
    1417
        #[allow(clippy::wrong_self_convention)]
    1418
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> Option<(&'a K, &'a V)>
    1429
        #[inline]
    1430
        #[allow(clippy::wrong_self_convention)]
    1431
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> Option<(&'a K, &'a V)>
  • data_model 0.1.1-alpha.1/src/sys/unix.rs
    114
        /// Converts a slice of `IoBufMut`s into a slice of `iovec`s.
    115
        #[allow(clippy::wrong_self_convention)]
    116
        #[inline]
  • data_model 0.1.1-alpha.1/src/volatile_memory.rs
    151
        /// Converts a slice of `VolatileSlice`s into a slice of `IoBufMut`s
    152
        #[allow(clippy::wrong_self_convention)]
    153
        pub fn as_iobufs<'mem, 'slice>(
  • datafusion-common 17.0.0/src/dfschema.rs
    478
        /// Attempt to create a DSSchema
    479
        #[allow(clippy::wrong_self_convention)]
    480
        fn to_dfschema(self) -> Result<DFSchema>;
    482
        /// Attempt to create a DSSchemaRef
    483
        #[allow(clippy::wrong_self_convention)]
    484
        fn to_dfschema_ref(self) -> Result<DFSchemaRef> {
    489
    impl ToDFSchema for Schema {
    490
        #[allow(clippy::wrong_self_convention)]
    491
        fn to_dfschema(self) -> Result<DFSchema> {
    496
    impl ToDFSchema for SchemaRef {
    497
        #[allow(clippy::wrong_self_convention)]
    498
        fn to_dfschema(self) -> Result<DFSchema> {
  • datafusion-expr 17.0.0/src/expr.rs
    726
        /// Return `IsNull(Box(self))
    727
        #[allow(clippy::wrong_self_convention)]
    728
        pub fn is_null(self) -> Expr {
    732
        /// Return `IsNotNull(Box(self))
    733
        #[allow(clippy::wrong_self_convention)]
    734
        pub fn is_not_null(self) -> Expr {
  • datafusion-expr 17.0.0/src/logical_plan/extension.rs
    73
        /// So, `self.from_template(exprs, ..).expressions() == exprs
    74
        #[allow(clippy::wrong_self_convention)]
    75
        fn from_template(
  • datetime-string 0.2.2/src/rfc3339/offset.rs
    319
        // return a reference directly).
    320
        #[allow(clippy::wrong_self_convention)]
    321
        pub fn to_numoffset_mut(&mut self) -> Option<&mut TimeNumOffsetStr> {
  • ddshow 0.2.2/src/dataflow/operators/epoch.rs
    74
    #[allow(clippy::wrong_self_convention)]
    75
    impl<S, D> Refines<()> for Epoch<S, D>
  • deferred 1.1.0/src/value.rs
    52
        #[inline]
    53
        #[allow(clippy::wrong_self_convention)]
    54
        pub fn into_cloned<T: 'static>(&self) -> Option<T>
  • diesel 2.0.3/src/expression/array_comparison.rs
    174
        /// the `IN (values)` clause for the given type
    175
        #[allow(clippy::wrong_self_convention)]
    176
        // That's a public api, we cannot just change it to
  • diesel 2.0.3/src/expression/mod.rs
    204
        /// Perform the conversion
    205
        #[allow(clippy::wrong_self_convention)]
    206
        // That's public API we cannot change it to appease clippy
    850
        // that to appease clippy
    851
        #[allow(clippy::wrong_self_convention)]
    852
        fn as_expression_list(self) -> Self::Expression;
  • diesel 2.0.3/src/expression_methods/global_expression_methods.rs
    210
        // so that name is really fine)
    211
        #[allow(clippy::wrong_self_convention)]
    212
        fn is_null(self) -> dsl::IsNull<Self> {
    242
        // so that name is really fine)
    243
        #[allow(clippy::wrong_self_convention)]
    244
        fn is_not_null(self) -> dsl::IsNotNull<Self> {
  • diesel 2.0.3/src/pg/expression/array_comparison.rs
    137
        // we won't change it to appease a clippy lint
    138
        #[allow(clippy::wrong_self_convention)]
    139
        fn as_expression(self) -> Self::Expression;
  • diesel 2.0.3/src/pg/expression/expression_methods.rs
    38
        /// ```
    39
        #[allow(clippy::wrong_self_convention)] // This is named after the sql operator
    40
        fn is_not_distinct_from<T>(self, other: T) -> dsl::IsNotDistinctFrom<Self, T>
    66
        /// ```
    67
        #[allow(clippy::wrong_self_convention)] // This is named after the sql operator
    68
        fn is_distinct_from<T>(self, other: T) -> dsl::IsDistinctFrom<Self, T>
    308
        /// ```
    309
        #[allow(clippy::wrong_self_convention)] // This is named after the sql operator
    310
        fn is_contained_by<T>(self, other: T) -> dsl::IsContainedBy<Self, T>
    902
        /// ```
    903
        #[allow(clippy::wrong_self_convention)] // This is named after the sql operator
    904
        fn is_contained_by<T>(self, other: T) -> dsl::IsContainedByNet<Self, T>
  • dipstick 0.9.1/src/output/stream.rs
    56
        #[deprecated(since = "0.8.0", note = "Use write_to_file()")]
    57
        #[allow(clippy::wrong_self_convention)]
    58
        pub fn to_file<P: AsRef<Path>>(file: P) -> io::Result<Stream<File>> {
    76
        #[deprecated(since = "0.8.0", note = "Use write_to_new_file()")]
    77
        #[allow(clippy::wrong_self_convention)]
    78
        pub fn to_new_file<P: AsRef<Path>>(file: P, clobber: bool) -> io::Result<Stream<File>> {
  • discv5-cli 0.3.0/src/request_enr/enr_ext.rs
    17
    pub trait CombinedKeyPublicExt {
    18
        #[allow(clippy::wrong_self_convention)]
    19
        /// Converts the publickey into a peer id, without consuming the key.
  • diskit 0.1.1/src/diskit.rs
    149
        // taken by value.
    150
        #[allow(clippy::wrong_self_convention)]
    151
        fn into_walkdir_iterator(&self, walkdir: WalkDir<Self>) -> WalkdirIterator<Self>;
  • diskit 0.1.1/src/virtual_diskit/implementation.rs
    471
        // taken by value.
    472
        #[allow(clippy::wrong_self_convention)]
    473
        pub fn into_walkdir_iterator(
  • divvunspell 1.0.0-beta.1/src/speller/mod.rs
    67
    {
    68
        #[allow(clippy::wrong_self_convention)]
    69
        fn is_correct(self: Arc<Self>, word: &str) -> bool {
  • drone-core 0.14.3/src/ffi/c_str.rs
    394
        /// ```
    395
        #[allow(clippy::wrong_self_convention)]
    396
        pub fn into_c_string(self: Box<Self>) -> CString {
  • druid 0.8.2/src/lens/lens.rs
    165
        /// [`index`]: #method.index
    166
        #[allow(clippy::wrong_self_convention)]
    167
        fn as_ref<T: ?Sized>(self) -> Then<Self, Ref, B>
  • easy-ext 1.0.1/src/iter.rs
    27
        #[allow(clippy::wrong_self_convention)]
    28
        pub(crate) fn is_empty(&mut self) -> bool {
  • ec-gpu-gen 0.5.1/src/multiexp_cpu.rs
    20
        #[allow(clippy::wrong_self_convention)]
    21
        fn new(self) -> Self::Source;
  • educe 0.4.20/src/trait_handlers/clone/models/field_attribute.rs
    20
    impl FieldAttributeBuilder {
    21
        #[allow(clippy::wrong_self_convention)]
    22
        pub fn from_clone_meta(&self, meta: &Meta) -> FieldAttribute {
    214
        #[allow(clippy::wrong_self_convention)]
    215
        pub fn from_attributes(self, attributes: &[Attribute], traits: &[Trait]) -> FieldAttribute {
  • educe 0.4.20/src/trait_handlers/clone/models/type_attribute.rs
    67
    impl TypeAttributeBuilder {
    68
        #[allow(clippy::wrong_self_convention)]
    69
        pub fn from_clone_meta(&self, meta: &Meta) -> TypeAttribute {
    222
        #[allow(clippy::wrong_self_convention)]
    223
        pub fn from_attributes(self, attributes: &[Attribute], traits: &[Trait]) -> TypeAttribute {
  • educe 0.4.20/src/trait_handlers/copy/models/type_attribute.rs
    47
    impl TypeAttributeBuilder {
    48
        #[allow(clippy::wrong_self_convention)]
    49
        pub fn from_copy_meta(&self, meta: &Meta) -> TypeAttribute {
  • educe 0.4.20/src/trait_handlers/debug/models/field_attribute.rs
    40
    impl FieldAttributeBuilder {
    41
        #[allow(clippy::wrong_self_convention)]
    42
        pub fn from_debug_meta(&self, meta: &Meta) -> FieldAttribute {
    485
        #[allow(clippy::wrong_self_convention)]
    486
        pub fn from_attributes(self, attributes: &[Attribute], traits: &[Trait]) -> FieldAttribute {
  • educe 0.4.20/src/trait_handlers/debug/models/type_attribute.rs
    75
    impl TypeAttributeBuilder {
    76
        #[allow(clippy::wrong_self_convention)]
    77
        pub fn from_debug_meta(&self, meta: &Meta) -> TypeAttribute {
    498
        #[allow(clippy::wrong_self_convention)]
    499
        pub fn from_attributes(self, attributes: &[Attribute], traits: &[Trait]) -> TypeAttribute {
  • educe 0.4.20/src/trait_handlers/default/models/field_attribute.rs
    23
    impl FieldAttributeBuilder {
    24
        #[allow(clippy::wrong_self_convention)]
    25
        pub fn from_default_meta(&self, meta: &Meta) -> FieldAttribute {
  • emf-core-base-rs-ffi 0.1.2/src/collections/non_null_const.rs
    54
        #[inline]
    55
        #[allow(clippy::wrong_self_convention)]
    56
        pub unsafe fn into_mut(&self) -> NonNull<T> {
    61
        #[inline]
    62
        #[allow(clippy::wrong_self_convention)]
    63
        pub const fn as_ptr(self) -> *const T {
  • encoding-next-types 0.2.0/lib.rs
    156
        /// Creates a fresh `RawEncoder` instance which parameters are same as `self`.
    157
        #[allow(clippy::wrong_self_convention)]
    158
        fn from_self(&self) -> Box<dyn RawEncoder>;
    184
        /// Creates a fresh `RawDecoder` instance which parameters are same as `self`.
    185
        #[allow(clippy::wrong_self_convention)]
    186
        fn from_self(&self) -> Box<dyn RawDecoder>;
  • endbasic-core 0.10.0/src/compiler.rs
    523
        /// Finishes compilation and returns the image representing the compiled program.
    524
        #[allow(clippy::wrong_self_convention)]
    525
        fn to_image(mut self) -> Result<Image> {
  • endless-web 2.0.0/src/test.rs
    320
    #[allow(clippy::wrong_self_convention)]
    321
    impl TestRequest {
  • env_logger 0.10.0/src/fmt/writer/mod.rs
    167
        /// Whether or not to capture logs for `cargo test`.
    168
        #[allow(clippy::wrong_self_convention)]
    169
        pub(crate) fn is_test(&mut self, is_test: bool) -> &mut Self {
  • equihash 0.2.0/src/verify.rs
    65
        // Clippy incorrectly interprets the first argument as `self`.
    66
        #[allow(clippy::wrong_self_convention)]
    67
        fn from_children(a: Node, b: Node, trim: usize) -> Self {
  • erkpht-tower 0.3.2/src/limit/concurrency/sync/semaphore.rs
    819
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/4293
    820
        fn into_non_null(self: Arc<WaiterNode>) -> NonNull<WaiterNode> {
  • erl_nif 0.5.0/convert.rs
    7
    #[allow(clippy::wrong_self_convention, clippy::upper_case_acronyms)]
    8
    pub trait IntoErlNif<'a>: 'a {
    12
    #[allow(clippy::wrong_self_convention, clippy::upper_case_acronyms)]
    13
    pub trait FromErlNif<'a>: 'a + Sized {
  • etebase 0.5.3/src/http_client/client_impl.rs
    127
        #[deprecated(since = "0.5.1", note = "please use `into_result` instead")]
    128
        #[allow(clippy::wrong_self_convention)]
    129
        pub fn as_result(self) -> Result<Self> {
  • eternal 0.3.2/src/web/test.rs
    323
    #[allow(clippy::wrong_self_convention)]
    324
    impl TestRequest {
  • ethcontract 0.23.1/src/contract/event.rs
    51
        /// If left unset defaults to the latest block.
    52
        #[allow(clippy::wrong_self_convention)]
    53
        pub fn from_block(mut self, block: BlockNumber) -> Self {
    60
        /// If left unset defaults to the streaming until the end of days.
    61
        #[allow(clippy::wrong_self_convention)]
    62
        pub fn to_block(mut self, block: BlockNumber) -> Self {
    200
        /// If left unset defaults to the latest block.
    201
        #[allow(clippy::wrong_self_convention)]
    202
        pub fn from_block(mut self, block: BlockNumber) -> Self {
    209
        /// If left unset defaults to the streaming until the end of days.
    210
        #[allow(clippy::wrong_self_convention)]
    211
        pub fn to_block(mut self, block: BlockNumber) -> Self {
  • ethcontract 0.23.1/src/int.rs
    531
        /// Write to the slice in big-endian format.
    532
        #[allow(clippy::wrong_self_convention)]
    533
        pub fn to_big_endian(&self, bytes: &mut [u8]) {
    537
        /// Write to the slice in little-endian format.
    538
        #[allow(clippy::wrong_self_convention)]
    539
        pub fn to_little_endian(&self, bytes: &mut [u8]) {
  • ethcontract 0.23.1/src/log.rs
    75
        /// If left unset defaults to the latest block.
    76
        #[allow(clippy::wrong_self_convention)]
    77
        pub fn from_block(mut self, block: BlockNumber) -> Self {
    84
        /// If left unset defaults to the streaming until the end of days.
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub fn to_block(mut self, block: BlockNumber) -> Self {
  • ethers-contract 1.0.2/src/event.rs
    66
        /// Sets the filter's `from` block
    67
        #[allow(clippy::wrong_self_convention)]
    68
        pub fn from_block<T: Into<BlockNumber>>(mut self, block: T) -> Self {
    73
        /// Sets the filter's `to` block
    74
        #[allow(clippy::wrong_self_convention)]
    75
        pub fn to_block<T: Into<BlockNumber>>(mut self, block: T) -> Self {
    81
        /// set `from_block` and `to_block` fields.
    82
        #[allow(clippy::wrong_self_convention)]
    83
        pub fn at_block_hash<T: Into<H256>>(mut self, hash: T) -> Self {
  • ethers-core 1.0.2/src/types/filter.rs
    206
        #[allow(clippy::wrong_self_convention)]
    207
        #[must_use]
    213
        #[allow(clippy::wrong_self_convention)]
    214
        #[must_use]
    220
        #[allow(clippy::wrong_self_convention)]
    221
        #[must_use]
  • ethers-core 1.0.2/src/types/signature.rs
    137
        /// Copies and serializes `self` into a new `Vec` with the recovery id included
    138
        #[allow(clippy::wrong_self_convention)]
    139
        pub fn to_vec(&self) -> Vec<u8> {
  • ethers-core 1.0.2/src/types/trace/filter.rs
    34
        /// Sets From block
    35
        #[allow(clippy::wrong_self_convention)]
    36
        #[must_use]
    42
        /// Sets to block
    43
        #[allow(clippy::wrong_self_convention)]
    44
        #[must_use]
    50
        /// Sets to address
    51
        #[allow(clippy::wrong_self_convention)]
    52
        #[must_use]
    58
        /// Sets from address
    59
        #[allow(clippy::wrong_self_convention)]
    60
        #[must_use]
  • ethnum 1.3.2/src/int/convert.rs
    70
        /// [`I256`]: struct.I256.html
    71
        #[allow(clippy::wrong_self_convention)]
    72
        fn as_i256(self) -> I256;
  • ethnum 1.3.2/src/uint/api.rs
    303
        #[inline]
    304
        #[allow(clippy::wrong_self_convention)]
    305
        pub const fn from_be(x: Self) -> Self {
    333
        #[inline]
    334
        #[allow(clippy::wrong_self_convention)]
    335
        pub const fn from_le(x: Self) -> Self {
  • ethnum 1.3.2/src/uint/convert.rs
    76
        /// [`U256`]: struct.U256.html
    77
        #[allow(clippy::wrong_self_convention)]
    78
        fn as_u256(self) -> U256;
  • exonum 1.0.0/src/runtime/dispatcher/schema.rs
    64
    impl MigrationTransition {
    65
        #[allow(clippy::wrong_self_convention, clippy::trivially_copy_pass_by_ref)]
    66
        fn to_pb(value: &Option<Self>) -> PbMigrationTransition {
  • exonum 1.0.0/src/runtime/types.rs
    590
        // Used by `InstanceState`.
    591
        #[allow(clippy::wrong_self_convention)]
    592
        pub(super) fn to_pb(status: &Option<Self>) -> schema::lifecycle::InstanceStatus {
  • expectrl 0.6.0/src/process/mod.rs
    25
    #[allow(clippy::wrong_self_convention)]
    26
    /// Healthcheck represents a check by which we can determine if a spawned process is still alive.
  • expectrl 0.6.0/src/session/sync_session.rs
    502
        #[allow(clippy::wrong_self_convention)]
    503
        fn is_empty(&mut self) -> io::Result<bool> {
  • exprz 0.0.15/src/lib.rs
    33
        /// Checks if the [`Reference`] is an atomic expression [`&E::Atom`](Expression::Atom).
    34
        #[allow(clippy::wrong_self_convention)]
    35
        #[must_use]
    44
        /// Checks if the [`Reference`] is a grouped expression [`Group<E>::Ref`].
    45
        #[allow(clippy::wrong_self_convention)]
    46
        #[must_use]
    107
        /// Returns new owned copy of the underlying [`Expression`].
    108
        #[allow(clippy::wrong_self_convention)]
    109
        #[inline]
    830
        /// Returns new owned copy of the underlying expression.
    831
        #[allow(clippy::wrong_self_convention)]
    832
        #[inline]
  • ext-php-rs 0.10.0/src/args.rs
    51
        /// Sets the argument as a reference.
    52
        #[allow(clippy::wrong_self_convention)]
    53
        pub fn as_ref(mut self) -> Self {
  • extendr-api 0.3.1/src/wrapper/environment.rs
    54
        /// ```
    55
        #[allow(clippy::wrong_self_convention)]
    56
        pub fn from_pairs<NV>(parent: Environment, names_and_values: NV) -> Self
  • facto 0.3.1/src/optimized_factoring/mod.rs
    21
    pub trait Primality: Sized {
    22
        #[allow(clippy::wrong_self_convention)]
    23
        /// Check primality with absolute certainty
  • factorio-mlua 0.8.0/src/serde/mod.rs
    160
        /// ```
    161
        #[allow(clippy::wrong_self_convention)]
    162
        fn from_value<T: Deserialize<'lua>>(&'lua self, value: Value<'lua>) -> Result<T>;
    192
        /// ```
    193
        #[allow(clippy::wrong_self_convention)]
    194
        fn from_value_with<T: Deserialize<'lua>>(
  • fil-rustacuda 0.1.3/src/memory/device/device_box.rs
    177
        /// ```
    178
        #[allow(clippy::wrong_self_convention)]
    179
        pub fn into_device(mut b: DeviceBox<T>) -> DevicePointer<T> {
  • fil-rustacuda 0.1.3/src/memory/unified.rs
    157
        /// ```
    158
        #[allow(clippy::wrong_self_convention)]
    159
        pub fn into_unified(mut b: UnifiedBox<T>) -> UnifiedPointer<T> {
  • filecoin-hashers 7.0.0/src/types.rs
    37
    {
    38
        #[allow(clippy::wrong_self_convention)]
    39
        fn into_bytes(&self) -> Vec<u8>;
  • flatbuffers-retained 0.2.0/examples/monster_generated.rs
    102
                #[inline]
    103
                #[allow(clippy::wrong_self_convention)]
    104
                fn from_little_endian(v: i8) -> Self {
    191
                #[inline]
    192
                #[allow(clippy::wrong_self_convention)]
    193
                fn from_little_endian(v: u8) -> Self {
  • flatbuffers-retained 0.2.0/tests/monster_generated.rs
    102
                #[inline]
    103
                #[allow(clippy::wrong_self_convention)]
    104
                fn from_little_endian(v: i8) -> Self {
    191
                #[inline]
    192
                #[allow(clippy::wrong_self_convention)]
    193
                fn from_little_endian(v: u8) -> Self {
  • flatc 0.2.1+2.0.0/flatbuffers/samples/monster_generated.rs
    100
      #[inline]
    101
      #[allow(clippy::wrong_self_convention)]
    102
      fn from_little_endian(self) -> Self {
    187
      #[inline]
    188
      #[allow(clippy::wrong_self_convention)]
    189
      fn from_little_endian(self) -> Self {
  • flatc 0.2.1+2.0.0/flatbuffers/tests/arrays_test_generated.rs
    100
      #[inline]
    101
      #[allow(clippy::wrong_self_convention)]
    102
      fn from_little_endian(self) -> Self {
  • flatc 0.2.1+2.0.0/flatbuffers/tests/include_test/sub/include_test2_generated.rs
    95
      #[inline]
    96
      #[allow(clippy::wrong_self_convention)]
    97
      fn from_little_endian(self) -> Self {
  • flatc 0.2.1+2.0.0/flatbuffers/tests/monster_test_generated.rs
    296
      #[inline]
    297
      #[allow(clippy::wrong_self_convention)]
    298
      fn from_little_endian(self) -> Self {
    391
      #[inline]
    392
      #[allow(clippy::wrong_self_convention)]
    393
      fn from_little_endian(self) -> Self {
    486
      #[inline]
    487
      #[allow(clippy::wrong_self_convention)]
    488
      fn from_little_endian(self) -> Self {
    677
      #[inline]
    678
      #[allow(clippy::wrong_self_convention)]
    679
      fn from_little_endian(self) -> Self {
    868
      #[inline]
    869
      #[allow(clippy::wrong_self_convention)]
    870
      fn from_little_endian(self) -> Self {
  • flatc 0.2.1+2.0.0/flatbuffers/tests/more_defaults_generated.rs
    83
      #[inline]
    84
      #[allow(clippy::wrong_self_convention)]
    85
      fn from_little_endian(self) -> Self {
  • flatgeobuf 3.24.0/src/header_generated.rs
    142
      #[inline]
    143
      #[allow(clippy::wrong_self_convention)]
    144
      fn from_little_endian(v: u8) -> Self {
    279
      #[inline]
    280
      #[allow(clippy::wrong_self_convention)]
    281
      fn from_little_endian(v: u8) -> Self {
  • flattiverse_connector 36.1.1/src/unit/scan_info.rs
    58
        #[allow(clippy::wrong_self_convention)]
    59
        pub fn from_degree(&self) -> f32 {
  • fltk 1.3.28/src/prelude.rs
    380
        /// Allows for potentially unsafe casts between incompatible widget types
    381
        #[allow(clippy::wrong_self_convention)]
    382
        unsafe fn into_widget<W: WidgetBase>(&self) -> W
    680
        /// vtable differences mean certain methods can't be overridden (e.g. handle & draw)
    681
        #[allow(clippy::wrong_self_convention)]
    682
        unsafe fn into_group(&self) -> crate::group::Group;
  • fluvio-cli 0.3.1/src/common/mod.rs
    26
        impl OutputFormat {
    27
            #[allow(clippy::wrong_self_convention)]
    28
            pub fn as_output(self) -> OutputType {
  • fluvio-sc 0.5.1/src/cli.rs
    84
        /// as sc configuration, 2nd part of tls configuration(proxy addr, tls config)
    85
        #[allow(clippy::wrong_self_convention)]
    86
        fn as_sc_config(self) -> Result<(Config, Option<(String, TlsConfig)>), IoError> {
  • fluvio-sc 0.5.1/src/config/sc_config.rs
    15
    pub trait ScConfigBuilder {
    16
        #[allow(clippy::wrong_self_convention)]
    17
        fn to_sc_config(self) -> Result<ScConfig, IoError>;
  • fluvio-sc-schema 0.16.0/src/response.rs
    41
        #[allow(clippy::wrong_self_convention)]
    42
        pub fn as_result(self) -> Result<(), ApiError> {
  • fluvio-socket 0.13.2/src/sink.rs
    43
        /// convert to shared sink
    44
        #[allow(clippy::wrong_self_convention)]
    45
        pub fn as_shared(self) -> ExclusiveFlvSink {
  • fluvio-spu 0.4.0/src/config/cli.rs
    79
        #[allow(clippy::wrong_self_convention)]
    80
        fn as_spu_config(self) -> Result<(SpuConfig, Option<String>), IoError> {
  • fluvio-storage 0.3.0/src/index.rs
    38
        /// convert to be endian
    39
        #[allow(clippy::wrong_self_convention)]
    40
        fn to_be(self) -> Self;
  • fluvio-storage 0.3.0/src/segment.rs
    301
        /// convert to immutable segment
    302
        #[allow(clippy::wrong_self_convention)]
    303
        pub async fn as_segment(self) -> Result<ReadSegment, StorageError> {
  • fp-collections 0.0.2/src/set.rs
    172
        // TODO: fix later
    173
        #[allow(clippy::wrong_self_convention)]
    174
        pub fn to_vec(self) -> Vec<T> {
  • frawk 0.4.7/src/cfg.rs
    1576
        #[allow(clippy::wrong_self_convention)]
    1577
        fn to_val(&mut self, exp: PrimExpr<'b>, current_open: NodeIx) -> Result<PrimVal<'b>> {
  • frawk 0.4.7/src/compile.rs
    529
        #[allow(clippy::wrong_self_convention)]
    530
        fn to_interp<LR: runtime::LineReader>(
    550
        // At initialization time, we generate Either<LL, HL>, this function lowers the HL into LL.
    551
        #[allow(clippy::wrong_self_convention)]
    552
        fn to_bytecode(&mut self) -> Result<Vec<Vec<LL<'a>>>> {
  • frost-dalek 0.2.3/src/keygen.rs
    530
        /// participants in turn.
    531
        #[allow(clippy::wrong_self_convention)]
    532
        pub fn to_round_two(
  • frosty 0.0.3/src/utils/linked_list.rs
    53
        /// Convert the handle to a raw pointer without consuming the handle
    54
        #[allow(clippy::wrong_self_convention)]
    55
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • frugalos_raft 1.2.0/src/storage/mod.rs
    209
        #[allow(clippy::wrong_self_convention)]
    210
        pub(crate) fn is_busy(&mut self) -> bool {
  • fs3ds 1.0.0/src/ivfc_vfs.rs
    74
    impl GetMetadataError {
    75
        #[allow(clippy::wrong_self_convention)]
    76
        pub fn to_io_error(self) -> io::Error {
  • futures-util-preview 0.3.0-alpha.19/src/sink/with.rs
    70
    impl<Fut, T> State<Fut, T> {
    71
        #[allow(clippy::wrong_self_convention)]
    72
        fn as_pin_mut(self: Pin<&mut Self>) -> State<Pin<&mut Fut>, Pin<&mut T>> {
  • fuzzcheck 0.12.1/src/traits.rs
    325
        #[allow(clippy::wrong_self_convention)]
    326
        /// Deserialize the bytes into the value.
  • fvm_ipld_kamt 0.2.0/tests/kamt_tests.rs
    29
    impl KamtFactory {
    30
        #[allow(clippy::wrong_self_convention, clippy::new_ret_no_self)]
    31
        fn new<BS, K, V>(&self, store: BS) -> HKamt<BS, V, K>
  • gain-listener 0.3.1/src/listener_generated.rs
    99
      #[inline]
    100
      #[allow(clippy::wrong_self_convention)]
    101
      fn from_little_endian(self) -> Self {
    182
      #[inline]
    183
      #[allow(clippy::wrong_self_convention)]
    184
      fn from_little_endian(self) -> Self {
    269
      #[inline]
    270
      #[allow(clippy::wrong_self_convention)]
    271
      fn from_little_endian(self) -> Self {
    356
      #[inline]
    357
      #[allow(clippy::wrong_self_convention)]
    358
      fn from_little_endian(self) -> Self {
  • gain-localhost 0.1.3/src/localhost_generated.rs
    79
      #[inline]
    80
      #[allow(clippy::wrong_self_convention)]
    81
      fn from_little_endian(self) -> Self {
  • garble_lang 0.1.7/src/scan.rs
    343
        #[allow(clippy::wrong_self_convention)]
    344
        fn is_empty(&mut self) -> bool {
  • gcdevproxy 0.2.3/src/acme/challenge.rs
    80
        /// Construct an HTTP response for this challenge registration.
    81
        #[allow(clippy::wrong_self_convention)]
    82
        fn to_http_response(&mut self) -> Response<Body> {
  • gdbstub 0.6.3/src/arch.rs
    107
    impl BreakpointKind for usize {
    108
        #[allow(clippy::wrong_self_convention)]
    109
        fn from_usize(kind: usize) -> Option<Self> {
  • gdbstub 0.6.3/src/internal/be_bytes.rs
    5
        /// big-endian (network) byte order into the provided buffer.
    6
        #[allow(clippy::wrong_self_convention)]
    7
        fn to_be_bytes(self, buf: &mut [u8]) -> Option<usize>;
  • gdbstub 0.6.3/src/internal/le_bytes.rs
    5
        /// little-endian byte order into the provided buffer.
    6
        #[allow(clippy::wrong_self_convention)]
    7
        fn to_le_bytes(self, buf: &mut [u8]) -> Option<usize>;
  • gdbstub 0.6.3/src/target/ext/base/multithread.rs
    88
        /// to override this method with a more direct query.
    89
        #[allow(clippy::wrong_self_convention)] // requires breaking change to fix
    90
        fn is_thread_alive(&mut self, tid: Tid) -> Result<bool, Self::Error> {
  • gdk4 0.5.5/src/lib.rs
    54
    #[allow(clippy::wrong_self_convention)]
    55
    #[allow(clippy::upper_case_acronyms)]
  • gdnative-core 0.11.3/src/core_types/mod.rs
    56
    trait IsEqualApprox {
    57
        #[allow(clippy::wrong_self_convention)]
    58
        fn is_equal_approx(self, to: Self) -> bool;
  • gdnative-core 0.11.3/src/core_types/vector2.rs
    313
        #[doc(hidden)]
    314
        #[allow(clippy::wrong_self_convention)]
    315
        #[inline]
  • gdnative-core 0.11.3/src/core_types/vector3.rs
    378
        #[doc(hidden)]
    379
        #[allow(clippy::wrong_self_convention)]
    380
        #[inline]
  • gemachain-ledger 1.8.0/src/blockstore_db.rs
    590
        fn primary_index(index: Self::Index) -> u64;
    591
        #[allow(clippy::wrong_self_convention)]
    592
        fn as_index(slot: Slot) -> Self::Index;
    641
        #[allow(clippy::wrong_self_convention)]
    642
        fn as_index(slot: Slot) -> u64 {
    677
        #[allow(clippy::wrong_self_convention)]
    678
        fn as_index(index: u64) -> Self::Index {
    718
        #[allow(clippy::wrong_self_convention)]
    719
        fn as_index(index: u64) -> Self::Index {
    749
        #[allow(clippy::wrong_self_convention)]
    750
        fn as_index(_index: u64) -> Self::Index {
  • generator_extensions 0.1.1/src/iter.rs
    128
        /// Projects a pinned `Gen` as its wrapped generator.
    129
        #[allow(clippy::wrong_self_convention)] // Clippy doesn't understand Pin.
    130
        #[must_use]
  • geng-ecs 0.11.0/src/util.rs
    23
        type Output;
    24
        #[allow(clippy::wrong_self_convention)]
    25
        fn as_ref(self) -> Self::Output;
  • gio 0.16.7/src/lib.rs
    104
    #[allow(clippy::wrong_self_convention)]
    105
    #[allow(clippy::new_ret_no_self)]
  • gitlab 0.1508.0/src/api/params.rs
    20
    pub trait ParamValue<'a> {
    21
        #[allow(clippy::wrong_self_convention)]
    22
        /// The parameter value as a string.
  • glib 0.16.7/src/translate.rs
    451
        /// The pointer in the `Stash` is only valid for the lifetime of the `Stash`.
    452
        #[allow(clippy::wrong_self_convention)]
    453
        fn to_glib_none_mut(&'a mut self) -> StashMut<P, Self>;
    577
        /// Transfer: full.
    578
        #[allow(clippy::wrong_self_convention)]
    579
        unsafe fn into_glib_ptr(self) -> P;
    792
        #[allow(clippy::wrong_self_convention)]
    793
        fn to_glib_none_from_slice(t: &'a [Self]) -> (P, Self::Storage);
    794
        #[allow(clippy::wrong_self_convention)]
    795
        fn to_glib_container_from_slice(t: &'a [Self]) -> (P, Self::Storage);
    796
        #[allow(clippy::wrong_self_convention)]
    797
        fn to_glib_full_from_slice(t: &[Self]) -> P;
  • glib 0.16.7/src/value.rs
    385
        /// Convert an `Option` to a `Value`.
    386
        #[allow(clippy::wrong_self_convention)]
    387
        fn to_value_optional(s: Option<&Self>) -> Value;
  • gloo-utils 0.1.6/src/format/json.rs
    79
        #[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
    80
        #[allow(clippy::wrong_self_convention)]
    81
        fn into_serde<T>(&self) -> serde_json::Result<T>
  • glyph_brush 0.7.5/src/legacy.rs
    34
    impl<'a> SectionText<'a> {
    35
        #[allow(clippy::wrong_self_convention)] // won't fix for backward compatibility
    36
        #[inline]
  • golem 0.1.7/src/depth.rs
    76
    impl DepthTestFunction {
    77
        #[allow(clippy::wrong_self_convention)] // TODO maybe this should be addressed properly.
    78
        pub(crate) fn to_gl(self) -> u32 {
  • griddle 0.5.2/src/map.rs
    1580
        #[cfg_attr(feature = "inline-more", inline)]
    1581
        #[allow(clippy::wrong_self_convention)]
    1582
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> RawEntryMut<'a, K, V, S>
    1593
        #[inline]
    1594
        #[allow(clippy::wrong_self_convention)]
    1595
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> RawEntryMut<'a, K, V, S>
    1606
        #[cfg_attr(feature = "inline-more", inline)]
    1607
        #[allow(clippy::wrong_self_convention)]
    1608
        pub fn from_hash<F>(self, hash: u64, is_match: F) -> RawEntryMut<'a, K, V, S>
    1636
        #[cfg_attr(feature = "inline-more", inline)]
    1637
        #[allow(clippy::wrong_self_convention)]
    1638
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> Option<(&'a K, &'a V)>
    1649
        #[cfg_attr(feature = "inline-more", inline)]
    1650
        #[allow(clippy::wrong_self_convention)]
    1651
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> Option<(&'a K, &'a V)>
  • grillon 0.4.0/src/assertion/mod.rs
    17
    mod impls;
    18
    #[allow(clippy::wrong_self_convention)]
    19
    pub mod traits;
  • grillon 0.4.0/src/dsl/mod.rs
    4
    mod expression;
    5
    #[allow(clippy::wrong_self_convention)]
    6
    pub mod http;
  • groestlcoin 0.29.0/src/blockdata/transaction.rs
    505
        /// ```
    506
        #[allow(clippy::wrong_self_convention)] // E is not Copy so we consume self.
    507
        pub fn is_sighash_single_bug(self) -> Result<bool, E> {
  • GSL 6.0.0/src/types/multifit_solver.rs
    443
        #[allow(clippy::wrong_self_convention)]
    444
        fn to_raw(&mut self) -> *mut sys::gsl_multifit_function_fdf {
  • GSL 6.0.0/src/types/ordinary_differential_equations.rs
    108
        /// Returns `sys::gsl_odeiv2_system` structure.
    109
        #[allow(clippy::wrong_self_convention)]
    110
        fn to_raw(&mut self) -> sys::gsl_odeiv2_system {
  • gtk 0.16.2/src/image.rs
    377
        #[allow(clippy::wrong_self_convention)]
    378
        pub fn is_focus(mut self, is_focus: bool) -> Self {
  • gtk 0.16.2/src/lib.rs
    4
    #![allow(clippy::upper_case_acronyms)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![doc = include_str!("../README.md")]
    57
    #[allow(clippy::many_single_char_names)]
    58
    #[allow(clippy::wrong_self_convention)]
    59
    #[allow(clippy::clone_on_copy)]
  • gtk 0.16.2/src/stack_switcher.rs
    369
        #[allow(clippy::wrong_self_convention)]
    370
        pub fn is_focus(mut self, is_focus: bool) -> Self {
  • gtk4 0.5.5/src/lib.rs
    6
    #![allow(clippy::too_many_arguments)]
    7
    #![allow(clippy::wrong_self_convention)]
    8
    #![allow(deprecated)]
    95
    #[allow(clippy::let_and_return)]
    96
    #[allow(clippy::wrong_self_convention)]
    97
    #[allow(clippy::clone_on_copy)]
  • guido_rbx_types 1.4.2/src/basic_types.rs
    102
        // a huge deal and not something we can change now.
    103
        #[allow(clippy::wrong_self_convention)]
    104
        pub fn to_normal_id(&self) -> Option<u8> {
  • gvariant 0.5.0/src/lib.rs
    401
        ///     assert_eq!(&*v, "An example string");
    402
        #[allow(clippy::wrong_self_convention)]
    403
        #[cfg(feature = "alloc")]
  • halfbrown 0.1.18/src/raw_entry.rs
    195
        #[inline]
    196
        #[allow(clippy::wrong_self_convention)]
    197
        pub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'map, K, V, S>
    209
        #[inline]
    210
        #[allow(clippy::wrong_self_convention)]
    211
        pub fn from_key_hashed_nocheck<Q>(self, hash: u64, k: &Q) -> RawEntryMut<'map, K, V, S>
    228
        #[inline]
    229
        #[allow(clippy::wrong_self_convention)]
    230
        pub fn from_hash<F>(self, hash: u64, is_match: F) -> RawEntryMut<'map, K, V, S>
    246
        #[inline]
    247
        #[allow(clippy::wrong_self_convention)]
    248
        pub fn from_key<Q>(self, k: &Q) -> Option<(&'map K, &'map V)>
    260
        #[inline]
    261
        #[allow(clippy::wrong_self_convention)]
    262
        pub fn from_key_hashed_nocheck<Q>(self, hash: u64, k: &Q) -> Option<(&'map K, &'map V)>
  • halfbrown 0.1.18/src/vecmap/raw_entry.rs
    77
        #[inline]
    78
        #[allow(clippy::wrong_self_convention)]
    79
        pub fn from_key<Q>(self, k: &Q) -> RawEntryMut<'map, K, V, S>
    88
        #[inline]
    89
        #[allow(clippy::wrong_self_convention)]
    90
        pub fn from_key_hashed_nocheck<Q>(self, hash: u64, k: &Q) -> RawEntryMut<'map, K, V, S>
    103
        #[inline]
    104
        #[allow(clippy::wrong_self_convention)]
    105
        pub fn from_hash<F>(self, _hash: u64, is_match: F) -> RawEntryMut<'a, K, V, S>
    128
        #[inline]
    129
        #[allow(clippy::wrong_self_convention)]
    130
        pub fn from_key<Q>(self, k: &Q) -> Option<(&'a K, &'a V)>
    140
        #[inline]
    141
        #[allow(clippy::wrong_self_convention)]
    142
        pub fn from_key_hashed_nocheck<Q>(self, hash: u64, k: &Q) -> Option<(&'a K, &'a V)>
  • harfbuzz_rs 2.0.1/src/common.rs
    467
        /// implicit conversions in many functions.
    468
        #[allow(clippy::wrong_self_convention)] //< backward compatibility is more important than clippy
    469
        pub fn to_shared(self) -> Shared<T> {
  • hash_arr_map 0.4.0/src/test_index.rs
    215
        /// ```
    216
        #[allow(clippy::wrong_self_convention)]
    217
        #[must_use]
  • hashbrown 0.13.2/src/map.rs
    3211
        #[cfg_attr(feature = "inline-more", inline)]
    3212
        #[allow(clippy::wrong_self_convention)]
    3213
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> RawEntryMut<'a, K, V, S, A>
    3244
        #[inline]
    3245
        #[allow(clippy::wrong_self_convention)]
    3246
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> RawEntryMut<'a, K, V, S, A>
    3277
        #[cfg_attr(feature = "inline-more", inline)]
    3278
        #[allow(clippy::wrong_self_convention)]
    3279
        pub fn from_hash<F>(self, hash: u64, is_match: F) -> RawEntryMut<'a, K, V, S, A>
    3317
        #[cfg_attr(feature = "inline-more", inline)]
    3318
        #[allow(clippy::wrong_self_convention)]
    3319
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> Option<(&'a K, &'a V)>
    3348
        #[cfg_attr(feature = "inline-more", inline)]
    3349
        #[allow(clippy::wrong_self_convention)]
    3350
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> Option<(&'a K, &'a V)>
  • hashbrown_tstd 0.7.1/src/map.rs
    1486
        #[cfg_attr(feature = "inline-more", inline)]
    1487
        #[allow(clippy::wrong_self_convention)]
    1488
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> RawEntryMut<'a, K, V, S>
    1500
        #[inline]
    1501
        #[allow(clippy::wrong_self_convention)]
    1502
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> RawEntryMut<'a, K, V, S>
    1513
        #[cfg_attr(feature = "inline-more", inline)]
    1514
        #[allow(clippy::wrong_self_convention)]
    1515
        pub fn from_hash<F>(self, hash: u64, is_match: F) -> RawEntryMut<'a, K, V, S>
    1542
        #[cfg_attr(feature = "inline-more", inline)]
    1543
        #[allow(clippy::wrong_self_convention)]
    1544
        pub fn from_key<Q: ?Sized>(self, k: &Q) -> Option<(&'a K, &'a V)>
    1556
        #[cfg_attr(feature = "inline-more", inline)]
    1557
        #[allow(clippy::wrong_self_convention)]
    1558
        pub fn from_key_hashed_nocheck<Q: ?Sized>(self, hash: u64, k: &Q) -> Option<(&'a K, &'a V)>
  • hck 0.9.1/src/lib/core.rs
    256
        /// Whether or not the parser is a regex
    257
        #[allow(clippy::wrong_self_convention)]
    258
        pub fn is_regex_parser(mut self, is_regex: bool) -> Self {
  • hcl-rs 0.12.3/src/number.rs
    47
        #[allow(clippy::wrong_self_convention)]
    48
        fn to_f64(&self) -> f64 {
  • heph 0.4.0/src/actor/mod.rs
    256
        /// Create a new [`Actor`](Actor).
    257
        #[allow(clippy::wrong_self_convention)]
    258
        fn new(
  • heph-rt 0.4.1/src/bytes.rs
    204
        /// Returns `bufs` as [`socket2::MaybeUninitSlice`].
    205
        #[allow(clippy::wrong_self_convention)]
    206
        pub(crate) fn as_socket2<'b>(
    220
        /// Reading from the returned slice is UB.
    221
        #[allow(clippy::wrong_self_convention)]
    222
        pub(crate) unsafe fn as_io<'b>(
  • heterob 0.3.0/src/common.rs
    61
    pub trait AsPrimitive<T> {
    62
        #[allow(clippy::wrong_self_convention)]
    63
        fn as_primitive(self) -> T;
  • hierarchical_pathfinding 0.5.0/src/utils.rs
    3
    #[allow(clippy::wrong_self_convention)]
    4
    pub trait IterExt<T>: Iterator<Item = T> {
    7
    impl<T, I: Iterator<Item = T>> IterExt<T> for I {
    8
        #[allow(clippy::wrong_self_convention)]
    9
        fn to_vec(self) -> Vec<T> {
  • hifitime 3.8.0/src/epoch.rs
    1682
        /// in that century.
    1683
        #[allow(clippy::wrong_self_convention)]
    1684
        fn to_nanoseconds_in_time_scale(&self, time_scale: TimeScale) -> Result<u64, Errors> {
    1994
        #[allow(clippy::wrong_self_convention)]
    1995
        #[must_use]
  • hirofa_utils 0.5.7/src/js_utils/adapters.rs
    142
        /// you need this to move values into the worker thread from a different thread (JSValueAdapter cannot leave the worker thread)
    143
        #[allow(clippy::wrong_self_convention)]
    144
        fn from_js_value_facade(
  • holochain_types 0.1.0/src/link.rs
    250
        /// Build a regular expression string for this link match.
    251
        #[allow(clippy::wrong_self_convention)]
    252
        pub fn to_regex_string(self) -> Result<String, String> {
  • html5ever 0.26.0/src/driver.rs
    132
        /// Decoding is lossy, like `String::from_utf8_lossy`.
    133
        #[allow(clippy::wrong_self_convention)]
    134
        pub fn from_utf8(self) -> Utf8LossyDecoder<Self> {
  • humblegen 0.4.0/src/backend/docs.rs
    389
        // FIXME: Consider renaming this
    390
        #[allow(clippy::wrong_self_convention)]
    391
        fn to_html(&mut self) -> String {
  • i-runtime 0.1.5/src/window/dpi.rs
    63
    impl Pixel for f64 {
    64
      #[allow(clippy::wrong_self_convention)]
    65
      fn from_f64(f: f64) -> Self {
  • ibc-relayer-types 0.21.0/src/tx_msg.rs
    17
        #[allow(clippy::wrong_self_convention)]
    18
        fn to_any(self) -> Any {
  • ic-utils 0.23.0/src/interfaces/management_canister/builders.rs
    74
        /// This method is only available in local development instances, and will be removed in the future.
    75
        #[allow(clippy::wrong_self_convention)]
    76
        pub fn as_provisional_create_with_amount(self, amount: Option<u128>) -> Self {
  • icu_datetime 1.1.0/src/options/components.rs
    144
        #[allow(clippy::wrong_self_convention)]
    145
        /// Converts the components::Bag into a Vec<Field>. The fields will be ordered in from most
  • identity-diff-derive 0.7.0-alpha.4/src/model.rs
    244
      #[allow(clippy::wrong_self_convention)]
    245
      pub fn from_into(&self) -> bool {
  • idna 0.3.0/src/uts46.rs
    476
        /// http://www.unicode.org/reports/tr46/#ToASCII
    477
        #[allow(clippy::wrong_self_convention)]
    478
        pub fn to_ascii<'a>(&'a mut self, domain: &str, out: &mut String) -> Result<(), Errors> {
    498
        /// http://www.unicode.org/reports/tr46/#ToUnicode
    499
        #[allow(clippy::wrong_self_convention)]
    500
        pub fn to_unicode<'a>(&'a mut self, domain: &str, out: &mut String) -> Result<(), Errors> {
  • imag-todo 0.10.1/src/lib.rs
    170
        #[allow(clippy::wrong_self_convention)]
    171
        pub fn is_not(mut self, s: Status) -> Self {
  • imagequant 4.1.0/src/pal.rs
    113
        #[allow(clippy::wrong_self_convention)]
    114
        pub fn to_rgb(&self, gamma: f64) -> RGBA {
  • in-toto 0.3.0/src/interchange/mod.rs
    34
        /// Write a struct to a stream.
    35
        #[allow(clippy::wrong_self_convention)]
    36
        fn to_writer<W, T: Sized>(writer: W, value: &T) -> Result<()>
  • index-ext 1.0.0-beta.0/src/tag.rs
    1220
        // Internal consistency in naming deemed more important.
    1221
        #[allow(clippy::wrong_self_convention)]
    1222
        pub fn to_mut<T>(self, arr: &mut [T; N]) -> &'_ mut Slice<T, Self> {
  • index_vec 0.1.3/src/idxslice.rs
    97
        #[inline]
    98
        #[allow(clippy::wrong_self_convention)]
    99
        pub fn into_vec(self: Box<Self>) -> IndexVec<I, T> {
  • inferno 0.11.14/src/collapse/common.rs
    130
        /// - `Some(false)` means "no, this implementation definitely won't work"
    131
        #[allow(clippy::wrong_self_convention)]
    132
        fn is_applicable(&mut self, input: &str) -> Option<bool>;
  • inferno 0.11.14/src/collapse/mod.rs
    114
        /// - `Some(false)` means "no, this implementation definitely won't work"
    115
        #[allow(clippy::wrong_self_convention)]
    116
        fn is_applicable(&mut self, input: &str) -> Option<bool>;
  • influxdb2-structmap 0.2.0/src/lib.rs
    19
        /// __Constraints__: currently only supports primitive types for genericized values.
    20
        #[allow(clippy::wrong_self_convention)]
    21
        fn to_genericmap(structure: Self) -> GenericMap;
  • informalsystems-tonic 0.5.2/src/status.rs
    519
        #[allow(clippy::wrong_self_convention)]
    520
        /// Build an `http::Response` from the given `Status`.
  • ink_env 4.0.0-beta.1/src/backend.rs
    481
        /// For more details visit: [`is_contract`][`crate::is_contract`]
    482
        #[allow(clippy::wrong_self_convention)]
    483
        fn is_contract<E>(&mut self, account: &E::AccountId) -> bool
  • interprocess 1.2.1/src/local_socket/to_name.rs
    57
        /// Performs the conversion to a local socket name.
    58
        #[allow(clippy::wrong_self_convention)] // shut the fuck up
    59
        fn to_local_socket_name(self) -> io::Result<LocalSocketName<'a>>;
  • interprocess 1.2.1/src/os/unix/udsocket/path.rs
    406
        /// Performs the conversion from `self` to a Unix domain socket path.
    407
        #[allow(clippy::wrong_self_convention)]
    408
        fn to_socket_path(self) -> io::Result<UdSocketPath<'a>>;
  • iota-crypto 0.15.3/src/encoding/ternary/raw.rs
    102
        /// TODO: Rename this `reencode`
    103
        #[allow(clippy::wrong_self_convention)]
    104
        fn into_encoding<T: RawEncodingBuf>(this: TritBuf<Self>) -> TritBuf<T>
  • iota-types 1.0.0-rc.4/src/block/address/mod.rs
    112
        /// Encodes this address to a bech32 string with the given Human Readable Part as prefix.
    113
        #[allow(clippy::wrong_self_convention)]
    114
        pub fn to_bech32<T: AsRef<str>>(&self, hrp: T) -> String {
  • is-vowel 0.1.0/src/lib.rs
    49
        ///     }
    50
        #[allow(clippy::wrong_self_convention)]
    51
        fn is_romance_vowel(self) -> bool;
    63
        ///     }
    64
        #[allow(clippy::wrong_self_convention)]
    65
        fn is_romance_vowel_including(self, extra_vowels: &HashSet<char>) -> bool;
  • janetrs 0.5.0/src/types/abstract.rs
    192
        // false positive lint
    193
        #[allow(clippy::wrong_self_convention)]
    194
        #[inline]
    200
        // false positive lint
    201
        #[allow(clippy::wrong_self_convention)]
    202
        #[inline]
  • json-event-parser-witespace 0.1.0/src/event.rs
    23
        #[allow(dead_code)]
    24
        #[allow(clippy::wrong_self_convention)]
    25
        pub fn into_owned(&self) -> JsonEvent<'static> {
  • kayrx 0.18.0/src/timer/driver/park.rs
    176
    impl Inner {
    177
        #[allow(clippy::wrong_self_convention)]
    178
        pub(crate) fn into_raw(this: Arc<Inner>) -> *const () {
  • kayrx-timer 0.1.1/src/driver/park.rs
    403
        #[allow(clippy::wrong_self_convention)]
    404
        fn into_raw(this: Arc<Inner>) -> *const () {
  • keechain 0.1.0/src/component/input_field.rs
    42
        #[allow(clippy::wrong_self_convention)]
    43
        pub fn is_password(self) -> Self {
  • koper 0.3.0/src/thread/park.rs
    363
        impl Inner {
    364
            #[allow(clippy::wrong_self_convention)]
    365
            fn into_raw(this: Arc<Inner>) -> *const () {
  • kpgres 0.5.0/src/error/mod.rs
    444
        #[allow(clippy::wrong_self_convention)]
    445
        pub(crate) fn to_sql(e: Box<dyn error::Error>, idx: usize) -> Error {
  • krill 0.12.1/src/daemon/auth/policy.rs
    159
    impl ToPolar for NoResourceType {
    160
        #[allow(clippy::wrong_self_convention)]
    161
        fn to_polar(self) -> oso::PolarValue {
  • kstring 2.0.0/src/string_ref.rs
    50
        #[must_use]
    51
        #[allow(clippy::wrong_self_convention)]
    52
        pub fn to_owned<B: crate::backend::HeapStr>(&self) -> KStringBase<B> {
    72
        #[inline]
    73
        #[allow(clippy::wrong_self_convention)]
    74
        fn to_owned<B: crate::backend::HeapStr>(&self) -> KStringBase<B> {
  • leptos_macro 0.1.3/src/component.rs
    223
    impl Model {
    224
        #[allow(clippy::wrong_self_convention)]
    225
        pub fn is_transparent(mut self, is_transparent: bool) -> Self {
  • lettre-openssl111 0.9.0/src/smtp/client/mod.rs
    167
        /// Checks if the server is connected using the NOOP SMTP command
    168
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    169
        pub fn is_connected(&mut self) -> bool {
  • lexical-util 0.8.5/src/iterator.rs
    52
        /// modify the next returned value.
    53
        #[allow(clippy::wrong_self_convention)]
    54
        fn is_consumed(&mut self) -> bool;
  • libafl 0.9.0/src/feedbacks/concolic.rs
    57
    {
    58
        #[allow(clippy::wrong_self_convention)]
    59
        fn is_interesting<EM, OT>(
  • libafl 0.9.0/src/feedbacks/differential.rs
    125
    {
    126
        #[allow(clippy::wrong_self_convention)]
    127
        fn is_interesting<EM, OT>(
  • libafl 0.9.0/src/feedbacks/map.rs
    440
    {
    441
        #[allow(clippy::wrong_self_convention)]
    442
        #[allow(clippy::needless_range_loop)]
    661
        #[allow(clippy::wrong_self_convention)]
    662
        #[allow(clippy::needless_range_loop)]
    768
    {
    769
        #[allow(clippy::wrong_self_convention)]
    770
        fn is_interesting<EM, OT>(
  • libafl 0.9.0/src/feedbacks/mod.rs
    61
        /// `is_interesting ` return if an input is worth the addition to the corpus
    62
        #[allow(clippy::wrong_self_convention)]
    63
        fn is_interesting<EM, OT>(
    78
        #[allow(clippy::too_many_arguments)]
    79
        #[allow(clippy::wrong_self_convention)]
    80
        fn is_interesting_introspection<EM, OT>(
    193
        #[allow(clippy::wrong_self_convention)]
    194
        fn is_interesting<EM, OT>(
    217
        #[cfg(feature = "introspection")]
    218
        #[allow(clippy::wrong_self_convention)]
    219
        fn is_interesting_introspection<EM, OT>(
    634
        #[allow(clippy::wrong_self_convention)]
    635
        fn is_interesting<EM, OT>(
  • libafl_frida 0.9.0/src/asan/errors.rs
    616
    {
    617
        #[allow(clippy::wrong_self_convention)]
    618
        fn is_interesting<EM, OT>(
  • libcontainer 0.0.4/src/container/builder.rs
    75
        /// ```
    76
        #[allow(clippy::wrong_self_convention)]
    77
        pub fn as_tenant(self) -> TenantContainerBuilder<'a> {
    92
        /// ```
    93
        #[allow(clippy::wrong_self_convention)]
    94
        pub fn as_init<P: Into<PathBuf>>(self, bundle: P) -> InitContainerBuilder<'a> {
  • libcryptsetup-rs 0.6.0/src/luks2/token.rs
    215
        /// Check if token is assigned
    216
        #[allow(clippy::wrong_self_convention)]
    217
        pub fn is_assigned(&mut self, token: c_uint, keyslot: c_uint) -> Result<bool, LibcryptErr> {
  • linicon 2.3.0/src/lib.rs
    330
        /// Will panic if called after calling next.
    331
        #[allow(clippy::wrong_self_convention)]
    332
        pub fn from_theme(mut self, theme_name: impl AsRef<str>) -> Self {
  • local-sync 0.0.5/src/linked_list.rs
    53
        /// Convert the handle to a raw pointer without consuming the handle
    54
        #[allow(clippy::wrong_self_convention)]
    55
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • locustdb 0.3.4/src/engine/operators/vector_operator.rs
    758
        #[allow(clippy::wrong_self_convention)]
    759
        pub fn to_year(input: BufferRef<i64>, output: BufferRef<i64>) -> BoxedOperator<'a> {
  • lunatic-redis 0.1.3/src/connection.rs
    863
        /// subscription.
    864
        #[allow(clippy::wrong_self_convention)]
    865
        pub fn from_pattern(&self) -> bool {
  • madsim-tokio-postgres 0.2.0/src/error/mod.rs
    464
        #[allow(clippy::wrong_self_convention)]
    465
        pub(crate) fn to_sql(e: Box<dyn error::Error + Sync + Send>, idx: usize) -> Error {
  • magnus 0.4.4/src/method.rs
    24
            fn arity() -> i8;
    25
            #[allow(clippy::wrong_self_convention)]
    26
            fn as_ptr(self) -> *mut c_void;
  • magnus 0.4.4/src/r_string.rs
    735
        /// ```
    736
        #[allow(clippy::wrong_self_convention)]
    737
        pub unsafe fn to_string_lossy(&self) -> Cow<'_, str> {
  • magnus 0.4.4/src/value.rs
    729
        /// ```
    730
        #[allow(clippy::wrong_self_convention)]
    731
        pub unsafe fn to_s(&self) -> Result<Cow<str>, Error> {
    750
        /// ensure this does not happen.
    751
        #[allow(clippy::wrong_self_convention)]
    752
        pub(crate) unsafe fn to_s_infallible(&self) -> Cow<str> {
  • malachite-base 0.3.2/src/num/conversion/mantissa_and_exponent.rs
    179
    #[allow(clippy::wrong_self_convention)]
    180
    fn from_sci_mantissa_and_exponent_primitive_float<T: PrimitiveFloat>(
  • malachite-base 0.3.2/src/num/conversion/traits.rs
    302
    pub trait IsInteger {
    303
        #[allow(clippy::wrong_self_convention)]
    304
        fn is_integer(self) -> bool;
  • matrix-sdk-crypto 0.6.0/src/verification/event_enums.rs
    248
    impl RequestContent<'_> {
    249
        #[allow(clippy::wrong_self_convention)]
    250
        pub fn from_device(&self) -> &DeviceId {
    271
    impl ReadyContent<'_> {
    272
        #[allow(clippy::wrong_self_convention)]
    273
        pub fn from_device(&self) -> &DeviceId {
    400
    impl<'a> StartContent<'a> {
    401
        #[allow(clippy::wrong_self_convention)]
    402
        pub fn from_device(&self) -> &DeviceId {
  • mco-redis 0.1.2/src/bytes/buf/buf_impl.rs
    784
        #[inline]
    785
        #[allow(clippy::wrong_self_convention)]
    786
        fn to_bytes(&mut self) -> crate::bytes::Bytes {
  • mco-redis-rs 0.21.6/src/connection.rs
    1040
        /// subscription.
    1041
        #[allow(clippy::wrong_self_convention)]
    1042
        pub fn from_pattern(&self) -> bool {
  • mcp794xx 0.3.0/src/common/mod.rs
    42
        /// Returns whether the oscillator is running.
    43
        #[allow(clippy::wrong_self_convention)]
    44
        pub fn is_oscillator_running(&mut self) -> Result<bool, Error<E>> {
  • mirror-mirror-macros 0.1.0/src/derive_reflect/attrs.rs
    269
        #[allow(clippy::wrong_self_convention)]
    270
        pub(super) fn from_reflect_with(&self, key: &T) -> Option<&Ident> {
  • mirror-mirror-macros 0.1.0/src/derive_reflect/enum_.rs
    1021
    impl<'a> NamedField<'a> {
    1022
        #[allow(clippy::wrong_self_convention)]
    1023
        fn from_reflect_with(&self) -> Option<&Ident> {
    1034
    impl<'a> UnnamedField<'a> {
    1035
        #[allow(clippy::wrong_self_convention)]
    1036
        fn from_reflect_with(&self) -> Option<&Ident> {
  • mlmdquery 0.2.0/src/graph.rs
    133
        #[allow(clippy::wrong_self_convention)]
    134
        pub fn from_node(&self) -> NodeId {
  • mlua 0.8.7/src/serde/mod.rs
    160
        /// ```
    161
        #[allow(clippy::wrong_self_convention)]
    162
        fn from_value<T: Deserialize<'lua>>(&'lua self, value: Value<'lua>) -> Result<T>;
    192
        /// ```
    193
        #[allow(clippy::wrong_self_convention)]
    194
        fn from_value_with<T: Deserialize<'lua>>(
  • molecule 0.8.0-alpha/src/prelude.rs
    16
        fn new_builder() -> Self::Builder;
    17
        #[allow(clippy::wrong_self_convention)]
    18
        fn as_builder(self) -> Self::Builder;
  • momoden-password 0.1.0/src/serialized.rs
    354
        /// `SerializedBytes` に変換する。
    355
        #[allow(clippy::wrong_self_convention)]
    356
        fn to_bytes(&mut self) -> SerializedBytes {
  • monero-serai 0.1.2-alpha/src/wallet/address.rs
    78
    impl AddressMeta {
    79
      #[allow(clippy::wrong_self_convention)]
    80
      fn to_byte(&self) -> u8 {
  • monoio 0.0.9/src/utils/linked_list.rs
    54
        /// Convert the handle to a raw pointer without consuming the handle
    55
        #[allow(clippy::wrong_self_convention)]
    56
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • mp4parse 0.12.0/src/lib.rs
    54
        // Remove when https://github.com/rust-lang/rust-clippy/issues/6727 is resolved
    55
        #[allow(clippy::wrong_self_convention)]
    56
        fn to_u64(self) -> u64;
  • n18route 0.1.0/src/builder.rs
    257
        // prefix to refer to route connectivity, not type conversion.
    258
        #[allow(clippy::wrong_self_convention)]
    259
        pub fn to_tile_face(mut self, face: HexFace) -> Result<Self> {
    275
        // prefix to refer to route connectivity, not type conversion.
    276
        #[allow(clippy::wrong_self_convention)]
    277
        pub fn to_edge(self, face: HexFace) -> Result<Self> {
    289
        // prefix to refer to route connectivity, not type conversion.
    290
        #[allow(clippy::wrong_self_convention)]
    291
        pub fn to_city(mut self, ix: usize, stop: bool) -> Result<Self> {
    317
        // prefix to refer to route connectivity, not type conversion.
    318
        #[allow(clippy::wrong_self_convention)]
    319
        pub fn to_dit(mut self, ix: usize, stop: bool) -> Result<Self> {
  • napi 2.10.14/src/env.rs
    1357
      #[cfg(feature = "serde-json")]
    1358
      #[allow(clippy::wrong_self_convention)]
    1359
      pub fn to_js_value<T>(&self, node: &T) -> Result<JsUnknown>
  • navajo 0.0.0/src/aead.rs
    133
    impl SegmentSize {
    134
        #[allow(clippy::wrong_self_convention)]
    135
        fn len() -> usize {
  • ndarray 0.15.6/src/data_traits.rs
    107
        #[doc(hidden)]
    108
        #[allow(clippy::wrong_self_convention)]
    109
        fn into_owned<D>(self_: ArrayBase<Self, D>) -> Array<Self::Elem, D>
    125
        #[doc(hidden)]
    126
        #[allow(clippy::wrong_self_convention)]
    127
        fn to_shared<D>(self_: &ArrayBase<Self, D>) -> ArcArray<Self::Elem, D>
    164
        #[inline]
    165
        #[allow(clippy::wrong_self_convention)]  // mut needed for Arc types
    166
        fn is_unique(&mut self) -> bool {
    312
        #[allow(clippy::wrong_self_convention)]
    313
        fn to_shared<D>(self_: &ArrayBase<Self, D>) -> ArcArray<Self::Elem, D>
  • near-sdk 4.1.1/src/promise.rs
    432
        /// ```
    433
        #[allow(clippy::wrong_self_convention)]
    434
        pub fn as_return(self) -> Self {
  • neodyn_xc 0.4.0/src/de/binary.rs
    362
        /// Check whether this byte describes a type of the given major type tag.
    363
        #[allow(clippy::wrong_self_convention)]
    364
        fn is_major(self, major: u8) -> bool;
    367
        /// type tags.
    368
        #[allow(clippy::wrong_self_convention)]
    369
        fn is_major_minor(self, major: u8, minor: u8) -> bool;
  • neon 1.0.0-alpha.2/src/lifecycle.rs
    198
        #[allow(clippy::wrong_self_convention)]
    199
        fn is_trying(&mut self) -> bool {
  • nephele 0.0.2/src/common/tls/mod.rs
    47
        impl Host {
    48
            #[allow(clippy::wrong_self_convention)]
    49
            pub fn as_string(self) -> String {
  • netlink-packet 0.1.1/src/netlink/message.rs
    180
        /// Instead, an error is returned.
    181
        #[allow(clippy::wrong_self_convention)]
    182
        pub fn to_bytes(&mut self, buffer: &mut [u8]) -> Result<usize, EncodeError> {
  • niftygate-bindings 0.8.0/src/benber86/nft_royalties_market/generated/marketplace.rs
    738
                #[doc = r" If left unset defaults to the latest block."]
    739
                #[allow(clippy::wrong_self_convention)]
    740
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    746
                #[doc = r" If left unset defaults to the streaming until the end of days."]
    747
                #[allow(clippy::wrong_self_convention)]
    748
                pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    795
                #[doc = r" If left unset defaults to the latest block."]
    796
                #[allow(clippy::wrong_self_convention)]
    797
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    803
                #[doc = r" If left unset defaults to the streaming until the end of days."]
    804
                #[allow(clippy::wrong_self_convention)]
    805
                pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    852
                #[doc = r" If left unset defaults to the latest block."]
    853
                #[allow(clippy::wrong_self_convention)]
    854
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
  • niftygate-bindings 0.8.0/src/benber86/nft_royalties_market/generated/royalties_payment.rs
    482
                #[doc = r" If left unset defaults to the latest block."]
    483
                #[allow(clippy::wrong_self_convention)]
    484
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    490
                #[doc = r" If left unset defaults to the streaming until the end of days."]
    491
                #[allow(clippy::wrong_self_convention)]
    492
                pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
  • niftygate-bindings 0.8.0/src/benber86/nft_royalties_market/generated/token.rs
    975
                #[doc = r" If left unset defaults to the latest block."]
    976
                #[allow(clippy::wrong_self_convention)]
    977
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    983
                #[doc = r" If left unset defaults to the streaming until the end of days."]
    984
                #[allow(clippy::wrong_self_convention)]
    985
                pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    1056
                #[doc = r" If left unset defaults to the latest block."]
    1057
                #[allow(clippy::wrong_self_convention)]
    1058
                pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
  • nightfall 0.1.8/src/profile.rs
    67
    impl VideoProfile {
    68
        #[allow(clippy::wrong_self_convention)]
    69
        pub fn to_params(&self) -> (Vec<&str>, &str) {
    205
    impl AudioProfile {
    206
        #[allow(clippy::wrong_self_convention)]
    207
        pub fn to_params(&self) -> (Vec<&str>, &str) {
  • node_api 0.5.0/convert.rs
    7
    #[allow(clippy::wrong_self_convention, clippy::upper_case_acronyms)]
    8
    pub trait IntoNodeApi<'a>: 'a {
    12
    #[allow(clippy::wrong_self_convention, clippy::upper_case_acronyms)]
    13
    pub trait FromNodeAPI<'a>: 'a + Sized {
  • nonzero_ext 0.3.0/src/lib.rs
    178
        #[deprecated(since = "0.2.0", note = "Renamed to `into_nonzero`")]
    179
        #[allow(clippy::wrong_self_convention)]
    180
        fn as_nonzero(self) -> Option<Self::NonZero>
    217
        #[deprecated(since = "0.2.0", note = "Renamed to `into_nonzero_unchecked`")]
    218
        #[allow(clippy::wrong_self_convention)]
    219
        unsafe fn as_nonzero_unchecked(self) -> Self::NonZero
  • notan_audio 0.9.1/src/backend.rs
    12
        fn stop(&mut self, sound: u64);
    13
        #[allow(clippy::wrong_self_convention)]
    14
        fn is_stopped(&mut self, sound: u64) -> bool;
    15
        #[allow(clippy::wrong_self_convention)]
    16
        fn is_paused(&mut self, sound: u64) -> bool;
  • notan_glow 0.9.1/src/html_image.rs
    48
        /// Creates a Texture from an image
    49
        #[allow(clippy::wrong_self_convention)]
    50
        fn from_html_image(self, element: &web_sys::HtmlImageElement) -> Self;
  • notan_graphics 0.9.1/src/pipeline.rs
    104
        /// Set the shaders from a bytes slice
    105
        #[allow(clippy::wrong_self_convention)]
    106
        pub fn from_raw(mut self, vertex: &'b [u8], fragment: &'b [u8]) -> Self {
  • notan_oddio 0.9.1/src/backend.rs
    328
        #[allow(clippy::wrong_self_convention)]
    329
        fn is_stopped(&mut self, sound: u64) -> bool {
    336
        #[allow(clippy::wrong_self_convention)]
    337
        fn is_paused(&mut self, sound: u64) -> bool {
  • nsi 0.6.0/src/argument.rs
    316
        #[doc(hidden)]
    317
        #[allow(clippy::wrong_self_convention)]
    318
        fn to_ptr(self) -> *const core::ffi::c_void;
  • ntex 0.6.3/src/web/test.rs
    323
    #[allow(clippy::wrong_self_convention)]
    324
    impl TestRequest {
  • ntex-bytes 0.1.19/src/buf/buf_impl.rs
    784
        #[inline]
    785
        #[allow(clippy::wrong_self_convention)]
    786
        fn to_bytes(&mut self) -> crate::Bytes {
  • numpy 0.18.0/src/datetime.rs
    228
        #[allow(clippy::wrong_self_convention)]
    229
        fn from_unit<'py>(&'py self, py: Python<'py>, unit: NPY_DATETIMEUNIT) -> &'py PyArrayDescr {
  • nut 0.1.1/src/node/builder.rs
    27
        #[allow(clippy::wrong_self_convention)]
    28
        pub(crate) fn is_leaf(mut self, value: bool) -> Self {
  • nydus-rafs 0.2.0/src/metadata/layout/v6.rs
    1330
    impl RafsV6Blob {
    1331
        #[allow(clippy::wrong_self_convention)]
    1332
        fn to_blob_info(&self) -> Result<BlobInfo> {
  • nydus-rs 2.1.0-alpha2/src/bin/nydus-image/core/context.rs
    584
        #[allow(clippy::wrong_self_convention)]
    585
        pub fn from_blob_table(&mut self, blob_table: Vec<Arc<BlobInfo>>) {
  • object-alloc-test 0.1.0/src/corruption.rs
    396
        /// Split into a mutable header and byte slice.
    397
        #[cfg_attr(feature="cargo-clippy", allow(wrong_self_convention))]
    398
        fn to_header_and_slice_mut(&mut self) -> (&mut Header, &mut [u8]) {
  • ockam_core 0.73.0/src/access_control.rs
    28
    #[async_trait]
    29
    #[allow(clippy::wrong_self_convention)]
    30
    pub trait IncomingAccessControl: Debug + Send + Sync + 'static {
    58
    #[async_trait]
    59
    #[allow(clippy::wrong_self_convention)]
    60
    pub trait OutgoingAccessControl: Debug + Send + Sync + 'static {
  • oddio 0.6.2/src/spsc.rs
    93
        // Could be `&self` since we don't allow new references to be created, but :effort:
    94
        #[allow(clippy::wrong_self_convention)]
    95
        pub fn is_closed(&mut self) -> bool {
    133
        // Could be `&self` since we don't allow new references to be created, but :effort:
    134
        #[allow(clippy::wrong_self_convention)]
    135
        pub fn is_closed(&mut self) -> bool {
  • olm-rs 2.2.0/src/session.rs
    101
        #[allow(clippy::wrong_self_convention)]
    102
        /// Convert a OlmMessage into a tuple of the OlmMessageType and ciphertext string.
  • opentls 0.2.1/src/async_io.rs
    94
            /// The host as string. Consumes self.
    95
            #[allow(clippy::wrong_self_convention)]
    96
            pub fn as_string(self) -> String {
  • orion 0.17.3/src/hazardous/hash/sha2/mod.rs
    74
            #[allow(clippy::wrong_self_convention)]
    75
            fn as_be_bytes(src: &[Self], dest: &mut [u8]);
  • otter-daemon 1.2.1/main.rs
    54
    trait IntoMime: Debug {
    55
      #[allow(clippy::wrong_self_convention)]
    56
      fn into_mime(&self) -> mime::Mime;
  • p2panda-rs 0.6.0/src/entry/traits.rs
    59
        /// TODO: Do we want to change this method naming?
    60
        #[allow(clippy::wrong_self_convention)]
    61
        fn into_bytes(&self) -> Vec<u8>;
    66
        /// Returns the entry bytes encoded as a hex string.
    67
        #[allow(clippy::wrong_self_convention)]
    68
        fn into_hex(&self) -> String {
  • parquet 32.0.0/src/encodings/decoding.rs
    1979
        trait ToByteArray<T: DataType> {
    1980
            #[allow(clippy::wrong_self_convention)]
    1981
            fn to_byte_array(data: &[T::T]) -> Vec<u8>;
    2000
        impl ToByteArray<BoolType> for BoolType {
    2001
            #[allow(clippy::wrong_self_convention)]
    2002
            fn to_byte_array(data: &[bool]) -> Vec<u8> {
    2016
        impl ToByteArray<Int96Type> for Int96Type {
    2017
            #[allow(clippy::wrong_self_convention)]
    2018
            fn to_byte_array(data: &[Int96]) -> Vec<u8> {
    2027
        impl ToByteArray<ByteArrayType> for ByteArrayType {
    2028
            #[allow(clippy::wrong_self_convention)]
    2029
            fn to_byte_array(data: &[ByteArray]) -> Vec<u8> {
    2041
        impl ToByteArray<FixedLenByteArrayType> for FixedLenByteArrayType {
    2042
            #[allow(clippy::wrong_self_convention)]
    2043
            fn to_byte_array(data: &[FixedLenByteArray]) -> Vec<u8> {
  • partialdebug 0.2.0/src/no_specialization.rs
    18
        /// Returns `None`
    19
        #[allow(clippy::wrong_self_convention)]
    20
        fn as_debug<T>(_: &T) -> Option<&dyn Debug> {
    31
        /// Returns the passed in argument as `Some(&dyn Debug).`
    32
        #[allow(clippy::unnecessary_wraps, clippy::wrong_self_convention)]
    33
        pub fn as_debug(it: &T) -> Option<&dyn Debug> {
  • pathfinder_geometry 0.5.1/src/line_segment.rs
    48
        #[allow(clippy::wrong_self_convention)]
    49
        #[inline]
    54
        #[allow(clippy::wrong_self_convention)]
    55
        #[inline]
  • photondb 0.0.4/src/util/linked_list.rs
    70
        /// Convert the handle to a raw pointer without consuming the handle.
    71
        #[allow(clippy::wrong_self_convention)]
    72
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • physx 0.16.0/src/math/quat.rs
    148
        /// returns the angle in radians and a normalized axis vector
    149
        #[allow(clippy::wrong_self_convention)]
    150
        pub fn to_angle_axis(&self) -> (f32, PxVec3) {
  • pico-common 0.3.1/src/utils.rs
    24
        /// Converts from Pico null terminated Vec<i8> string format to Rust Strings
    25
        #[allow(clippy::wrong_self_convention)]
    26
        fn from_pico_i8_string(self, buf_len: usize) -> String;
  • piet 0.6.2/src/gradient.rs
    96
        //TODO: rename to into_vec
    97
        #[allow(clippy::wrong_self_convention)]
    98
        fn to_vec(self) -> Vec<GradientStop>;
    197
    impl GradientStops for (Color, Color) {
    198
        #[allow(clippy::wrong_self_convention)]
    199
        fn to_vec(self) -> Vec<GradientStop> {
    205
    impl GradientStops for (Color, Color, Color) {
    206
        #[allow(clippy::wrong_self_convention)]
    207
        fn to_vec(self) -> Vec<GradientStop> {
    213
    impl GradientStops for (Color, Color, Color, Color) {
    214
        #[allow(clippy::wrong_self_convention)]
    215
        fn to_vec(self) -> Vec<GradientStop> {
    221
    impl GradientStops for (Color, Color, Color, Color, Color) {
    222
        #[allow(clippy::wrong_self_convention)]
    223
        fn to_vec(self) -> Vec<GradientStop> {
  • piet-common 0.6.2/src/cairo_back.rs
    176
        // really a mutation, so we'll keep the name. Consider using interior mutability in the future.
    177
        #[allow(clippy::wrong_self_convention)]
    178
        pub fn to_image_buf(&mut self, fmt: ImageFormat) -> Result<ImageBuf, piet::Error> {
  • piet-common 0.6.2/src/cg_back.rs
    112
        // really a mutation, so we'll keep the name. Consider using interior mutability in the future.
    113
        #[allow(clippy::wrong_self_convention)]
    114
        pub fn to_image_buf(&mut self, fmt: ImageFormat) -> Result<ImageBuf, piet::Error> {
  • piet-common 0.6.2/src/direct2d_back.rs
    154
        // really a mutation, so we'll keep the name. Consider using interior mutability in the future.
    155
        #[allow(clippy::wrong_self_convention)]
    156
        pub fn to_image_buf(&mut self, fmt: ImageFormat) -> Result<ImageBuf, piet::Error> {
  • piet-common 0.6.2/src/web_back.rs
    132
        // really a mutation, so we'll keep the name. Consider using interior mutability in the future.
    133
        #[allow(clippy::wrong_self_convention)]
    134
        pub fn to_image_buf(&mut self, fmt: ImageFormat) -> Result<ImageBuf, piet::Error> {
  • pink-extension 0.2.0/src/chain_extension.rs
    94
        /// Check if it is running in a Command context.
    95
        #[allow(clippy::wrong_self_convention)]
    96
        #[ink(extension = 12, handle_status = false, returns_result = false)]
  • plerkle_serialization 1.3.0/src/block_info_generated.rs
    89
        #[inline]
    90
        #[allow(clippy::wrong_self_convention)]
    91
        fn from_little_endian(v: u8) -> Self {
  • plerkle_serialization 1.3.0/src/slot_status_info_generated.rs
    82
        #[inline]
    83
        #[allow(clippy::wrong_self_convention)]
    84
        fn from_little_endian(v: i8) -> Self {
  • plotters 0.3.4/src/coord/ranged1d/discrete.rs
    38
        // change, so postpone the fix to the next major release
    39
        #[allow(clippy::wrong_self_convention)]
    40
        fn from_index(&self, index: usize) -> Option<Self::ValueType>;
  • polar-core 0.26.4/src/vm.rs
    2668
        /// Succeed if `left` is more specific than `right` with respect to `args`.
    2669
        #[allow(clippy::ptr_arg, clippy::wrong_self_convention)]
    2670
        fn is_more_specific(&mut self, left: &Rule, right: &Rule, args: &TermList) -> PolarResult<()> {
    2735
        /// Determine if `left` is a more specific specializer ("subspecializer") than `right`
    2736
        #[allow(clippy::wrong_self_convention)]
    2737
        fn is_subspecializer(
  • polars-arrow 0.26.1/src/data_types.rs
    10
        #[allow(clippy::wrong_self_convention)]
    11
        fn is_nan(&self) -> bool
  • polars-core 0.26.1/src/chunked_array/iterator/mod.rs
    111
    impl BooleanChunked {
    112
        #[allow(clippy::wrong_self_convention)]
    113
        #[doc(hidden)]
    193
    impl Utf8Chunked {
    194
        #[allow(clippy::wrong_self_convention)]
    195
        #[doc(hidden)]
    282
    impl BinaryChunked {
    283
        #[allow(clippy::wrong_self_convention)]
    284
        #[doc(hidden)]
    405
    impl ListChunked {
    406
        #[allow(clippy::wrong_self_convention)]
    407
        #[doc(hidden)]
    441
    impl<T: PolarsObject> ObjectChunked<T> {
    442
        #[allow(clippy::wrong_self_convention)]
    443
        #[doc(hidden)]
  • polars-core 0.26.1/src/chunked_array/mod.rs
    515
        #[allow(clippy::wrong_self_convention)]
    516
        pub fn into_no_null_iter(
  • polars-core 0.26.1/src/series/series_trait.rs
    111
            }
    112
            #[allow(clippy::wrong_self_convention)]
    113
            fn into_partial_eq_inner<'a>(&'a self) -> Box<dyn PartialEqInner + 'a> {
    115
            }
    116
            #[allow(clippy::wrong_self_convention)]
    117
            fn into_partial_ord_inner<'a>(&'a self) -> Box<dyn PartialOrdInner + 'a> {
  • polars-core 0.26.1/src/vector_hasher.rs
    387
    pub(crate) trait AsU64 {
    388
        #[allow(clippy::wrong_self_convention)]
    389
        fn as_u64(self) -> u64;
  • polars-plan 0.26.1/src/dsl/list.rs
    210
        #[cfg_attr(docsrs, doc(cfg(feature = "list_to_struct")))]
    211
        #[allow(clippy::wrong_self_convention)]
    212
        /// Convert this `List` to a `Series` of type `Struct`. The width will be determined according to
  • polars-plan 0.26.1/src/dsl/mod.rs
    277
        /// Run is_null operation on `Expr`.
    278
        #[allow(clippy::wrong_self_convention)]
    279
        pub fn is_null(self) -> Self {
    283
        /// Run is_not_null operation on `Expr`.
    284
        #[allow(clippy::wrong_self_convention)]
    285
        pub fn is_not_null(self) -> Self {
    829
        /// Get mask of finite values if dtype is Float
    830
        #[allow(clippy::wrong_self_convention)]
    831
        pub fn is_finite(self) -> Self {
    839
        /// Get mask of infinite values if dtype is Float
    840
        #[allow(clippy::wrong_self_convention)]
    841
        pub fn is_infinite(self) -> Self {
    1167
        /// Get a mask of duplicated values
    1168
        #[allow(clippy::wrong_self_convention)]
    1169
        pub fn is_duplicated(self) -> Self {
  • poly_styled_components 0.31.1/src/visitors/transpile_css_prop/transpile.rs
    47
        }
    48
        #[allow(clippy::wrong_self_convention)]
    49
        fn is_top_level_ident(&mut self, ident: &Ident) -> bool {
  • port-finance-lending 0.1.0/src/math/decimal.rs
    58
        /// Return raw scaled value if it fits within u128
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • port-finance-lending 0.1.0/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • port-finance-staking 0.2.1/src/math/decimal.rs
    59
        /// Return raw scaled value if it fits within u128
    60
        #[allow(clippy::wrong_self_convention)]
    61
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • port-finance-staking 0.2.1/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • port-finance-staking-instructions 0.1.0/src/math/decimal.rs
    59
        /// Return raw scaled value if it fits within u128
    60
        #[allow(clippy::wrong_self_convention)]
    61
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • port-finance-staking-instructions 0.1.0/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • port-finance-variable-rate-lending 0.1.2/src/math/decimal.rs
    58
        /// Return raw scaled value if it fits within u128
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • port-finance-variable-rate-lending 0.1.2/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • port-variable-rate-lending 0.2.3/src/math/decimal.rs
    58
        /// Return raw scaled value if it fits within u128
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • port-variable-rate-lending 0.2.3/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • pprof 0.11.0/examples/malloc_hook.rs
    7
    #[cfg(not(all(target_os = "linux", target_env = "gnu")))]
    8
    #[allow(clippy::wrong_self_convention)]
    9
    #[allow(non_upper_case_globals)]
  • pprof 0.11.0/src/collector.rs
    372
        #[cfg(not(target_env = "gnu"))]
    373
        #[allow(clippy::wrong_self_convention)]
    374
        #[allow(non_upper_case_globals)]
  • pprof 0.11.0/src/profiler.rs
    421
        #[cfg(not(target_env = "gnu"))]
    422
        #[allow(clippy::wrong_self_convention)]
    423
        #[allow(non_upper_case_globals)]
  • predicates 2.1.5/src/path/fc.rs
    114
        /// ```
    115
        #[allow(clippy::wrong_self_convention)]
    116
        fn from_file_path(self) -> FileContentPredicate<Self> {
  • predicates 2.1.5/src/str/adapters.rs
    177
        /// ```
    178
        #[allow(clippy::wrong_self_convention)]
    179
        fn from_utf8(self) -> Utf8Predicate<Self> {
  • prima_datadog 0.5.0/src/configuration/mod.rs
    11
    /// A trait representing a valid configuration entity
    12
    #[allow(clippy::wrong_self_convention)]
    13
    pub trait Configuration {
  • privsep 0.0.2/src/net/ancillary.rs
    371
        /// `SOL_SOCKET` and level of `SCM_RIGHTS`.
    372
        #[allow(clippy::wrong_self_convention)]
    373
        unsafe fn as_rights(data: &'a [u8]) -> Self {
    385
        #[cfg(any(doc, target_os = "android", target_os = "linux",))]
    386
        #[allow(clippy::wrong_self_convention)]
    387
        unsafe fn as_credentials(data: &'a [u8]) -> Self {
  • protect 1.1.0/src/lib.rs
    17
        #[allow(clippy::wrong_self_convention)]
    18
        pub unsafe fn get_unchecked_mut(&mut self) -> &mut T {
    36
        #[allow(clippy::wrong_self_convention)]
    37
        pub fn get_mut<P: Permit<T>>(&mut self, permit: &mut P) -> Option<&mut T> {
    41
        #[allow(clippy::wrong_self_convention)]
    42
        pub fn into_inner<P: Permit<T>>(self, permit: &mut P) -> Option<T> {
    53
        #[allow(clippy::wrong_self_convention)]
    54
        fn get_mut<'protect>(&mut self, value: &'protect mut Protect<T>) -> Option<&'protect mut T>;
    56
        #[allow(clippy::wrong_self_convention)]
    57
        fn into_inner(&mut self, value: Protect<T>) -> Option<T>;
  • pyo3 0.18.0/src/marker.rs
    698
        /// Callers must ensure that ensure that the cast is valid.
    699
        #[allow(clippy::wrong_self_convention)]
    700
        pub unsafe fn from_owned_ptr<T>(self, ptr: *mut ffi::PyObject) -> &'py T
    714
        /// Callers must ensure that ensure that the cast is valid.
    715
        #[allow(clippy::wrong_self_convention)]
    716
        pub unsafe fn from_owned_ptr_or_err<T>(self, ptr: *mut ffi::PyObject) -> PyResult<&'py T>
    730
        /// Callers must ensure that ensure that the cast is valid.
    731
        #[allow(clippy::wrong_self_convention)]
    732
        pub unsafe fn from_owned_ptr_or_opt<T>(self, ptr: *mut ffi::PyObject) -> Option<&'py T>
    745
        /// Callers must ensure that ensure that the cast is valid.
    746
        #[allow(clippy::wrong_self_convention)]
    747
        pub unsafe fn from_borrowed_ptr<T>(self, ptr: *mut ffi::PyObject) -> &'py T
    760
        /// Callers must ensure that ensure that the cast is valid.
    761
        #[allow(clippy::wrong_self_convention)]
    762
        pub unsafe fn from_borrowed_ptr_or_err<T>(self, ptr: *mut ffi::PyObject) -> PyResult<&'py T>
  • pyoxidizer 0.24.0/src/starlark/python_distribution.rs
    231
        /// )
    232
        #[allow(clippy::too_many_arguments, clippy::wrong_self_convention)]
    233
        fn to_python_executable_starlark(
  • qsv 0.87.0/src/cmd/stats.rs
    657
        #[allow(clippy::wrong_self_convention)]
    658
        pub fn to_record(&mut self, round_places: u32) -> csv::StringRecord {
  • qsv 0.87.0/src/config.rs
    521
        #[allow(clippy::wrong_self_convention)]
    522
        pub fn from_reader<R: Read>(&self, rdr: R) -> csv::Reader<R> {
    559
        #[allow(clippy::wrong_self_convention)]
    560
        pub fn from_writer<W: io::Write>(&self, wtr: W) -> csv::Writer<W> {
  • quickjs_runtime 0.8.7/src/esvalue.rs
    37
        #[allow(clippy::wrong_self_convention)]
    38
        fn to_es_value_facade(self) -> EsValueFacade
  • r3_core 0.1.4/src/kernel/hook.rs
    158
    impl CfgStartupHook {
    159
        #[allow(clippy::wrong_self_convention)]
    160
        pub const fn to_attr(&self) -> StartupHookAttr {
  • radixdb 0.2.5/src/node/mod.rs
    1204
    impl<'a, S: BlobStore> BorrowedTreeNode<'a, S> {
    1205
        #[allow(clippy::wrong_self_convention)]
    1206
        fn to_owned(&self) -> TreeNode<S> {
    1858
        #[allow(clippy::wrong_self_convention)]
    1859
        fn to_owned(self) -> Option<Arc<Vec<TreeNode<S>>>> {
  • rand 0.8.5/src/distributions/utils.rs
    236
    // False positive: We are following `std` here.
    237
    #[allow(clippy::wrong_self_convention)]
    238
    pub(crate) trait Float: Sized {
  • rbx_types 1.4.2/src/basic_types.rs
    102
        // a huge deal and not something we can change now.
    103
        #[allow(clippy::wrong_self_convention)]
    104
        pub fn to_normal_id(&self) -> Option<u8> {
  • redis 0.22.3/src/connection.rs
    1087
        /// subscription.
    1088
        #[allow(clippy::wrong_self_convention)]
    1089
        pub fn from_pattern(&self) -> bool {
  • redis-sk 0.17.1/src/connection.rs
    955
        /// subscription.
    956
        #[allow(clippy::wrong_self_convention)]
    957
        pub fn from_pattern(&self) -> bool {
  • redmine-api 0.1.9/src/api.rs
    433
    pub trait ParamValue<'a> {
    434
        #[allow(clippy::wrong_self_convention)]
    435
        /// The parameter value as a string.
  • regress 0.4.1/src/bytesearch.rs
    287
        /// \return all set bytes, as a vec.
    288
        #[allow(clippy::wrong_self_convention)]
    289
        pub fn to_vec(&self) -> Vec<u8> {
  • relearn 0.3.1/src/spaces/mod.rs
    191
        /// `elem` is the unique element in the space with `to_index(elem) == index`.
    192
        #[allow(clippy::wrong_self_convention)] // `from_` here refers to element, not space
    193
        fn from_index(&self, index: usize) -> Option<Self::Element>;
    200
        #[inline]
    201
        #[allow(clippy::wrong_self_convention)] // `from_` here refers to element, not space
    202
        fn from_index_unchecked(&self, index: usize) -> Option<Self::Element> {
  • requiem-web 2.0.0/src/test.rs
    320
    #[allow(clippy::wrong_self_convention)]
    321
    impl TestRequest {
  • resend 0.1.1/src/lib.rs
    59
    pub trait IntoWriter {
    60
        #[allow(clippy::wrong_self_convention)]
    61
        fn into_writer<S: Sender>(&self, writer: &mut S, len: usize) -> Result<()>;
  • riffdiff 2.22.2/src/line_collector.rs
    108
        #[allow(clippy::wrong_self_convention)]
    109
        pub fn is_empty(&mut self) -> bool {
  • rincon_client 0.1.1/src/collection/methods.rs
    646
        //noinspection RsSelfConvention
    647
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    648
        /// Constructs a new instance of the `RenameCollection` method for the
  • ritelinked 0.3.2/src/map.rs
    489
        #[cfg_attr(feature = "inline-more", inline)]
    490
        #[allow(clippy::wrong_self_convention)]
    491
        pub fn to_front<Q>(&mut self, k: &Q) -> Option<&mut V>
    507
        #[cfg_attr(feature = "inline-more", inline)]
    508
        #[allow(clippy::wrong_self_convention)]
    509
        pub fn to_back<Q>(&mut self, k: &Q) -> Option<&mut V>
    823
        #[cfg_attr(feature = "inline-more", inline)]
    824
        #[allow(clippy::wrong_self_convention)]
    825
        pub fn to_back(&mut self) {
    829
        #[cfg_attr(feature = "inline-more", inline)]
    830
        #[allow(clippy::wrong_self_convention)]
    831
        pub fn to_front(&mut self) {
    921
        #[cfg_attr(feature = "inline-more", inline)]
    922
        #[allow(clippy::wrong_self_convention)]
    923
        pub fn from_key<Q>(self, k: &Q) -> Option<(&'a K, &'a V)>
  • ritelinked 0.3.2/src/set.rs
    273
        #[cfg_attr(feature = "inline-more", inline)]
    274
        #[allow(clippy::wrong_self_convention)]
    275
        pub fn to_front<Q: ?Sized>(&mut self, value: &Q) -> bool
    289
        #[cfg_attr(feature = "inline-more", inline)]
    290
        #[allow(clippy::wrong_self_convention)]
    291
        pub fn to_back<Q: ?Sized>(&mut self, value: &Q) -> bool
  • rkv 0.18.4/src/value.rs
    44
        #[allow(clippy::wrong_self_convention)]
    45
        pub fn to_tag(self) -> u8 {
  • rkyv 0.7.39/src/impls/std/net.rs
    84
        #[inline]
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub const fn to_ipv6_compatible(&self) -> Ipv6Addr {
    93
        #[inline]
    94
        #[allow(clippy::wrong_self_convention)]
    95
        pub const fn to_ipv6_mapped(&self) -> Ipv6Addr {
    204
        #[inline]
    205
        #[allow(clippy::wrong_self_convention)]
    206
        pub const fn to_ipv4(&self) -> Option<Ipv4Addr> {
  • rkyv-test 0.7.39/src/impls/std/net.rs
    84
        #[inline]
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub const fn to_ipv6_compatible(&self) -> Ipv6Addr {
    93
        #[inline]
    94
        #[allow(clippy::wrong_self_convention)]
    95
        pub const fn to_ipv6_mapped(&self) -> Ipv6Addr {
    204
        #[inline]
    205
        #[allow(clippy::wrong_self_convention)]
    206
        pub const fn to_ipv4(&self) -> Option<Ipv4Addr> {
  • rosu-pp 0.9.3/src/parse/reader.rs
    103
    impl<R> FileReader<R> {
    104
        #[allow(clippy::wrong_self_convention)]
    105
        pub(crate) fn is_initial_empty_line(&mut self) -> bool {
  • rotonda-store 0.3.0-pre.1/src/local_array/atomic_stride.rs
    488
        #[allow(clippy::wrong_self_convention)]
    489
        fn into_node_id<AF: AddressFamily>(
    499
        // one bit to the left.
    500
        #[allow(clippy::wrong_self_convention)]
    501
        fn into_stride_size(
    509
        // accomodate the unused pfxbitarr's last bit.
    510
        #[allow(clippy::wrong_self_convention)]
    511
        fn into_ptrbitarr_size(
  • rotonda-store 0.3.0-pre.1/src/stride.rs
    76
        // one bit to the left.
    77
        #[allow(clippy::wrong_self_convention)]
    78
        fn into_stride_size(bitmap: Self::PtrSize) -> Self;
  • rp2040-hal 0.7.0/src/gpio/dynpin.rs
    344
        #[inline]
    345
        #[allow(clippy::wrong_self_convention)] // matches pin api
    346
        pub fn into_floating_disabled(&mut self) {
    351
        #[inline]
    352
        #[allow(clippy::wrong_self_convention)] // matches pin api
    353
        pub fn into_pull_down_disabled(&mut self) {
    358
        #[inline]
    359
        #[allow(clippy::wrong_self_convention)] // matches pin api
    360
        pub fn into_pull_up_disabled(&mut self) {
    365
        #[inline]
    366
        #[allow(clippy::wrong_self_convention)] // matches pin api
    367
        pub fn into_floating_input(&mut self) {
    372
        #[inline]
    373
        #[allow(clippy::wrong_self_convention)] // matches pin api
    374
        pub fn into_pull_down_input(&mut self) {
  • rsfbclient 0.23.0/src/connection/builders/builder_native.rs
    368
        /// - If you not provide the `lib={fbclient}`, we will consider this a dynamic linked connection. The default, by the way.
    369
        #[allow(clippy::wrong_self_convention)]
    370
        pub fn from_string(
  • rsfbclient 0.23.0/src/connection/builders/builder_pure_rust.rs
    130
        /// Basic string syntax: `firebird://{user}:{pass}@{host}:{port}/{db_name}?charset={charset}&dialect={dialect}`
    131
        #[allow(clippy::wrong_self_convention)]
    132
        pub fn from_string(&mut self, s_conn: &str) -> Result<&mut Self, FbError> {
  • rsfbclient-core 0.23.0/src/params.rs
    161
    #[allow(clippy::wrong_self_convention)]
    162
    /// Types with an associated boolean flag function, `named()` indiciating support for named or positional parameters.
  • rsfbclient-core 0.23.0/src/row.rs
    49
    #[allow(clippy::wrong_self_convention)]
    50
    /// Define the conversion from the buffer to a value
  • rsjni 0.4.0/src/object/mod.rs
    424
        /// Converts a `java.lang.reflect.Field` to a field ID.
    425
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    426
        pub fn from_reflected_field(&self) -> Result<FieldId> {
    452
        ///
    453
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    454
        pub fn from_reflected_method(&self) -> Result<MethodId> {
  • rslint_parser 0.3.1/src/parse.rs
    76
        /// Convert the result to an untyped SyntaxNode parse.
    77
        #[allow(clippy::wrong_self_convention)]
    78
        pub fn to_syntax(self) -> Parse<SyntaxNode> {
  • rust-bio-tools 0.42.0/src/fastq/collapse_reads_to_fragments/pipeline.rs
    80
        #[allow(clippy::wrong_self_convention)]
    81
        fn as_key(i: u64) -> [u8; 8] {
  • rustacuda 0.1.3/src/memory/device/device_box.rs
    177
        /// ```
    178
        #[allow(clippy::wrong_self_convention)]
    179
        pub fn into_device(mut b: DeviceBox<T>) -> DevicePointer<T> {
  • rustacuda 0.1.3/src/memory/unified.rs
    157
        /// ```
    158
        #[allow(clippy::wrong_self_convention)]
    159
        pub fn into_unified(mut b: UnifiedBox<T>) -> UnifiedPointer<T> {
  • rustgym 0.2.0/src/leetcode/_1271_hexspeak.rs
    3
    #[allow(clippy::wrong_self_convention)]
    4
    impl Solution {
  • rustgym 0.2.0/src/leetcode/_405_convert_a_number_to_hexadecimal.rs
    3
    #[allow(clippy::wrong_self_convention)]
    4
    impl Solution {
  • rustgym 0.2.0/src/leetcode/_709_to_lower_case.rs
    3
    #[allow(clippy::wrong_self_convention)]
    4
    impl Solution {
  • rustgym 0.2.0/src/leetcode/_824_goat_latin.rs
    3
    #[allow(clippy::wrong_self_convention)]
    4
    impl Solution {
  • rustler 0.27.0/src/types/binary.rs
    271
        /// If allocation fails, an error will be returned.
    272
        #[allow(clippy::wrong_self_convention)]
    273
        pub fn to_owned(&self) -> Option<OwnedBinary> {
    340
        /// Returns an Erlang term representation of `self`.
    341
        #[allow(clippy::wrong_self_convention)]
    342
        pub fn to_term<'b>(&self, env: Env<'b>) -> Term<'b> {
  • rustpython-common 0.2.0/src/linked_list.rs
    82
        /// Convert the handle to a raw pointer without consuming the handle.
    83
        #[allow(clippy::wrong_self_convention)]
    84
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • rusty-sidekiq 0.7.2/src/lib.rs
    191
        #[allow(clippy::wrong_self_convention)]
    192
        fn into_opts(&self) -> EnqueueOpts {
  • rusty_ulid 2.0.0/src/lib.rs
    826
        // https://github.com/rust-lang/rust-clippy/issues/4396
    827
        #[allow(clippy::wrong_self_convention)]
    828
        // 1.53.0 still requires clippy::wrong_self_convention
  • rusty_v8 0.32.1/src/support.rs
    528
      #[allow(clippy::wrong_self_convention)]
    529
      pub unsafe fn to_embedder<E>(self, field: &F) -> &E {
    535
      #[allow(clippy::wrong_self_convention)]
    536
      pub unsafe fn to_embedder_mut<E>(self, field: &mut F) -> &mut E {
  • rv 0.15.0-rc.1/src/data/mod.rs
    30
    #[allow(clippy::wrong_self_convention)]
    31
    impl CategoricalDatum for usize {
    83
    #[allow(clippy::wrong_self_convention)]
    84
    impl Booleable for bool {
  • s2n-quic-core 0.16.0/src/packet/number/packet_number.rs
    123
        /// protocol errors.
    124
        #[allow(clippy::wrong_self_convention)] // Don't use `self` here to make conversion explicit
    125
        pub const fn as_varint(packet_number: Self) -> VarInt {
  • safe-zk-token-sdk 1.14.3/src/encryption/elgamal.rs
    277
        #[allow(clippy::wrong_self_convention)]
    278
        pub fn to_bytes(&self) -> [u8; 32] {
    435
        #[allow(clippy::wrong_self_convention)]
    436
        pub fn to_bytes(&self) -> [u8; 64] {
    554
        #[allow(clippy::wrong_self_convention)]
    555
        pub fn to_bytes(&self) -> [u8; 32] {
  • safe-zk-token-sdk 1.14.3/src/encryption/pedersen.rs
    80
        #[allow(clippy::wrong_self_convention)]
    81
        pub fn as_bytes(&self) -> &[u8; 32] {
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub fn to_bytes(&self) -> [u8; 32] {
    173
        #[allow(clippy::wrong_self_convention)]
    174
        pub fn to_bytes(&self) -> [u8; 32] {
  • safecoin-ledger 1.6.16/src/blockstore_db.rs
    556
        fn primary_index(index: Self::Index) -> u64;
    557
        #[allow(clippy::wrong_self_convention)]
    558
        fn as_index(slot: Slot) -> Self::Index;
    603
        #[allow(clippy::wrong_self_convention)]
    604
        fn as_index(slot: Slot) -> u64 {
    639
        #[allow(clippy::wrong_self_convention)]
    640
        fn as_index(index: u64) -> Self::Index {
    680
        #[allow(clippy::wrong_self_convention)]
    681
        fn as_index(index: u64) -> Self::Index {
    711
        #[allow(clippy::wrong_self_convention)]
    712
        fn as_index(slot: u64) -> u64 {
  • scrappy 0.0.2/src/test.rs
    320
    #[allow(clippy::wrong_self_convention)]
    321
    impl TestRequest {
  • scutiger-lfs 0.3.0/src/backend.rs
    51
    #[allow(clippy::wrong_self_convention)]
    52
    pub trait LockBackend {
  • sea-orm 0.10.7/src/executor/select.rs
    117
        /// Perform a Select operation on a Model using a [Statement]
    118
        #[allow(clippy::wrong_self_convention)]
    119
        pub fn from_raw_sql(self, stmt: Statement) -> SelectorRaw<SelectModel<E::Model>> {
  • sea-query 0.28.3/src/expr.rs
    1243
        /// ```
    1244
        #[allow(clippy::wrong_self_convention)]
    1245
        pub fn is_null(self) -> SimpleExpr {
    1307
        /// ```
    1308
        #[allow(clippy::wrong_self_convention)]
    1309
        pub fn is_not_null(self) -> SimpleExpr {
    1608
        /// ```
    1609
        #[allow(clippy::wrong_self_convention)]
    1610
        pub fn is_in<V, I>(mut self, v: I) -> SimpleExpr
    1653
        /// ```
    1654
        #[allow(clippy::wrong_self_convention)]
    1655
        pub fn in_tuples<V, I>(mut self, v: I) -> SimpleExpr
    1717
        /// ```
    1718
        #[allow(clippy::wrong_self_convention)]
    1719
        pub fn is_not_in<V, I>(mut self, v: I) -> SimpleExpr
  • sea-query 0.28.3/src/query/delete.rs
    78
        /// ```
    79
        #[allow(clippy::wrong_self_convention)]
    80
        pub fn from_table<T>(&mut self, tbl_ref: T) -> &mut Self
  • sea-query 0.28.3/src/query/select.rs
    989
        #[allow(clippy::wrong_self_convention)]
    990
        fn from_from(&mut self, select: TableRef) -> &mut Self {
  • sea-query 0.28.3/src/query/update.rs
    58
        /// See [`UpdateStatement::values`]
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn table<T>(&mut self, tbl_ref: T) -> &mut Self
  • seed 0.9.2/src/virtual_dom/values.rs
    1
    #![allow(clippy::wrong_self_convention)]
    36
    #[doc(hidden)]
    37
    #[allow(clippy::wrong_self_convention)]
    38
    #[allow(clippy::upper_case_acronyms)]
  • self_sdk 0.1.0/src/protocol/aclcommand.rs
    79
      #[inline]
    80
      #[allow(clippy::wrong_self_convention)]
    81
      fn from_little_endian(self) -> Self {
  • self_sdk 0.1.0/src/protocol/err_type.rs
    91
      #[inline]
    92
      #[allow(clippy::wrong_self_convention)]
    93
      fn from_little_endian(self) -> Self {
  • self_sdk 0.1.0/src/protocol/msg_sub_type.rs
    143
      #[inline]
    144
      #[allow(clippy::wrong_self_convention)]
    145
      fn from_little_endian(self) -> Self {
  • self_sdk 0.1.0/src/protocol/msg_type.rs
    87
      #[inline]
    88
      #[allow(clippy::wrong_self_convention)]
    89
      fn from_little_endian(self) -> Self {
  • sentry-contrib-native 0.3.1/src/ffi.rs
    56
        /// pointer check, but the main concern is the lifetime of the pointer.
    57
        #[allow(clippy::wrong_self_convention)]
    58
        unsafe fn as_str<'a>(self) -> Option<&'a str>;
  • serde-reflection 0.3.6/src/trace.rs
    75
        /// Whether to trace the human readable encoding of (de)serialization.
    76
        #[allow(clippy::wrong_self_convention)]
    77
        pub fn is_human_readable(mut self, value: bool) -> Self {
  • serde-reflection-aptos 0.3.5/src/trace.rs
    75
        /// Whether to trace the human readable encoding of (de)serialization.
    76
        #[allow(clippy::wrong_self_convention)]
    77
        pub fn is_human_readable(mut self, value: bool) -> Self {
  • serenity 0.11.5/src/collector/event_collector.rs
    101
        /// be sent by a specific user or in a specific guild.
    102
        #[allow(clippy::wrong_self_convention)]
    103
        fn is_passing_constraints(&mut self, event: &mut LazyArc<'_, Event>) -> bool {
  • seshat 2.3.3/src/config.rs
    328
        /// event ID will be returned.
    329
        #[allow(clippy::wrong_self_convention)]
    330
        pub fn from_event<E: Into<String>>(mut self, event_id: E) -> Self {
  • sig-proxy 0.5.0/src/openzeppelin/contracts/generated/access_control.rs
    395
          #[doc = r" If left unset defaults to the latest block."]
    396
          #[allow(clippy::wrong_self_convention)]
    397
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    403
          #[doc = r" If left unset defaults to the streaming until the end of days."]
    404
          #[allow(clippy::wrong_self_convention)]
    405
          pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    473
          #[doc = r" If left unset defaults to the latest block."]
    474
          #[allow(clippy::wrong_self_convention)]
    475
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    481
          #[doc = r" If left unset defaults to the streaming until the end of days."]
    482
          #[allow(clippy::wrong_self_convention)]
    483
          pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    554
          #[doc = r" If left unset defaults to the latest block."]
    555
          #[allow(clippy::wrong_self_convention)]
    556
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
  • sig-proxy 0.5.0/src/openzeppelin/contracts/generated/access_control_enumerable.rs
    416
          #[doc = r" If left unset defaults to the latest block."]
    417
          #[allow(clippy::wrong_self_convention)]
    418
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    424
          #[doc = r" If left unset defaults to the streaming until the end of days."]
    425
          #[allow(clippy::wrong_self_convention)]
    426
          pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    497
          #[doc = r" If left unset defaults to the latest block."]
    498
          #[allow(clippy::wrong_self_convention)]
    499
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    505
          #[doc = r" If left unset defaults to the streaming until the end of days."]
    506
          #[allow(clippy::wrong_self_convention)]
    507
          pub fn to_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
    575
          #[doc = r" If left unset defaults to the latest block."]
    576
          #[allow(clippy::wrong_self_convention)]
    577
          pub fn from_block(mut self, block: self::ethcontract::BlockNumber) -> Self {
  • skia-safe 0.58.0/src/core/path_measure.rs
    130
        #[allow(clippy::wrong_self_convention)]
    131
        pub fn is_closed(&mut self) -> bool {
  • skia-safe 0.58.0/src/gpu/backend_surface.rs
    453
        #[allow(clippy::wrong_self_convention)]
    454
        pub fn is_same_texture(&mut self, texture: &BackendTexture) -> bool {
  • slog 2.7.0/src/lib.rs
    1214
        /// }
    1215
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    1216
        pub fn new<T>(&self, values: OwnedKV<T>) -> Logger<D>
  • snarkvm-curves 0.9.11/src/traits/group.rs
    110
        #[must_use]
    111
        #[allow(clippy::wrong_self_convention)]
    112
        fn to_affine(&self) -> Self::Affine;
    116
    /// in the correct prime order subgroup.
    117
    #[allow(clippy::wrong_self_convention)]
    118
    pub trait AffineCurve:
  • snarkvm-gadgets 0.8.0/src/curves/templates/twisted_edwards/mod.rs
    100
            #[allow(clippy::wrong_self_convention)]
    101
            pub fn into_edwards<CS: ConstraintSystem<F>>(
  • solana-ledger 1.14.13/src/blockstore_db.rs
    541
        fn primary_index(index: Self::Index) -> u64;
    542
        #[allow(clippy::wrong_self_convention)]
    543
        fn as_index(slot: Slot) -> Self::Index;
    592
        #[allow(clippy::wrong_self_convention)]
    593
        fn as_index(slot: Slot) -> u64 {
    628
        #[allow(clippy::wrong_self_convention)]
    629
        fn as_index(index: u64) -> Self::Index {
    668
        #[allow(clippy::wrong_self_convention)]
    669
        fn as_index(index: u64) -> Self::Index {
    698
        #[allow(clippy::wrong_self_convention)]
    699
        fn as_index(_index: u64) -> Self::Index {
  • solana-maths 0.1.2/src/decimal.rs
    62
        /// Return raw scaled value if it fits within u128
    63
        #[allow(clippy::wrong_self_convention)]
    64
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • solana-maths 0.1.2/src/rate.rs
    63
        /// Return raw scaled value
    64
        #[allow(clippy::wrong_self_convention)]
    65
        pub fn to_scaled_val(&self) -> u128 {
  • solana-zk-token-sdk 1.14.13/src/encryption/elgamal.rs
    276
        #[allow(clippy::wrong_self_convention)]
    277
        pub fn to_bytes(&self) -> [u8; 32] {
    436
        #[allow(clippy::wrong_self_convention)]
    437
        pub fn to_bytes(&self) -> [u8; 64] {
    559
        #[allow(clippy::wrong_self_convention)]
    560
        pub fn to_bytes(&self) -> [u8; 32] {
  • solana-zk-token-sdk 1.14.13/src/encryption/pedersen.rs
    81
        #[allow(clippy::wrong_self_convention)]
    82
        pub fn as_bytes(&self) -> &[u8; 32] {
    86
        #[allow(clippy::wrong_self_convention)]
    87
        pub fn to_bytes(&self) -> [u8; 32] {
    174
        #[allow(clippy::wrong_self_convention)]
    175
        pub fn to_bytes(&self) -> [u8; 32] {
  • solders-primitives 0.14.3/src/signature.rs
    121
        #[allow(clippy::wrong_self_convention)]
    122
        /// Returns this signature as a byte array.
  • solend-token-lending 0.1.1/src/math/decimal.rs
    58
        /// Return raw scaled value if it fits within u128
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • solend-token-lending 0.1.1/src/math/rate.rs
    64
        /// Return raw scaled value
    65
        #[allow(clippy::wrong_self_convention)]
    66
        pub fn to_scaled_val(&self) -> u128 {
  • sophia_api 0.7.2/src/quad/stream/_iterator.rs
    43
        #[deprecated(since = "0.6.3", note = "has been renamed to into_quad_source")]
    44
        #[allow(clippy::wrong_self_convention)]
    45
        fn as_quad_source(self) -> IntoInfallibleSource<Self, T> {
  • sophia_api 0.7.2/src/quad.rs
    34
        #[deprecated(since = "0.6.3", note = "Has been renamed to wrap_as_triple")]
    35
        #[allow(clippy::wrong_self_convention)]
    36
        fn as_triple(self) -> QuadAsTriple<Self>
  • sophia_api 0.7.2/src/triple/stream/_iterator.rs
    47
        #[deprecated(since = "0.6.3", note = "has been renamed to into_triple_source")]
    48
        #[allow(clippy::wrong_self_convention)]
    49
        fn as_triple_source(self) -> IntoInfallibleSource<Self, T> {
  • sophia_api 0.7.2/src/triple.rs
    41
        #[deprecated(since = "0.6.3", note = "has been renamed to wrap_as_quad")]
    42
        #[allow(clippy::wrong_self_convention)]
    43
        fn as_quad(self) -> TripleAsQuad<Self>
    61
        #[deprecated(since = "0.6.3", note = "has been renamed to wrap_as_quad_from")]
    62
        #[allow(clippy::wrong_self_convention)]
    63
        fn as_quad_from(self, name: Self::Term) -> TripleAsQuadFrom<Self>
  • sourmash 0.11.0/src/ffi/utils.rs
    21
    #[allow(clippy::wrong_self_convention)]
    22
    pub trait ForeignObject: Sized {
  • spl-token-lending 0.2.0/src/math/decimal.rs
    58
        /// Return raw scaled value if it fits within u128
    59
        #[allow(clippy::wrong_self_convention)]
    60
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • spl-token-lending 0.2.0/src/math/rate.rs
    59
        /// Return raw scaled value
    60
        #[allow(clippy::wrong_self_convention)]
    61
        pub fn to_scaled_val(&self) -> u128 {
  • spl-zk-token-sdk 0.1.0/src/encryption/elgamal.rs
    273
        #[allow(clippy::wrong_self_convention)]
    274
        pub fn to_bytes(&self) -> [u8; 32] {
    419
        #[allow(clippy::wrong_self_convention)]
    420
        pub fn to_bytes(&self) -> [u8; 64] {
  • spl-zk-token-sdk 0.1.0/src/encryption/pedersen.rs
    86
        #[allow(clippy::wrong_self_convention)]
    87
        pub fn to_bytes(&self) -> [u8; 32] {
    174
        #[allow(clippy::wrong_self_convention)]
    175
        pub fn to_bytes(&self) -> [u8; 32] {
    258
        #[allow(clippy::wrong_self_convention)]
    259
        pub fn to_bytes(&self) -> [u8; 32] {
  • springql-core 0.18.1/src/stream_engine/autonomous_executor/memory_state_machine.rs
    98
        #[allow(clippy::wrong_self_convention)]
    99
        pub fn to_state(&self) -> MemoryState {
  • springql-core-release-test 1.0.0-a6/src/stream_engine/autonomous_executor/memory_state_machine.rs
    98
        #[allow(clippy::wrong_self_convention)]
    99
        pub fn to_state(&self) -> MemoryState {
  • sprs 0.11.0/src/indexing.rs
    64
        #[inline(always)]
    65
        #[allow(clippy::wrong_self_convention)]
    66
        fn from_usize(ind: usize) -> Self {
    75
        #[inline(always)]
    76
        #[allow(clippy::wrong_self_convention)]
    77
        fn from_usize_unchecked(ind: usize) -> Self {
  • ssstar 0.4.0/src/objstore/mod.rs
    229
        /// If the URL isn't recognized as being supported by ssstar, an error is returned
    230
        #[allow(clippy::wrong_self_convention)] // For a factory object I think it's obvious what this means
    231
        pub async fn from_url(config: Config, url: &Url) -> Result<Box<dyn ObjectStorage>> {
  • stakker 0.2.5/src/fwd.rs
    66
        /// [`Ret`]: struct.Ret.html
    67
        #[allow(clippy::wrong_self_convention)]
    68
        #[inline]
    87
        /// [`Fwd`]: struct.Fwd.html
    88
        #[allow(clippy::wrong_self_convention)]
    89
        #[inline]
  • stakker 0.2.5/src/ret.rs
    66
        /// [`Ret`]: struct.Ret.html
    67
        #[allow(clippy::wrong_self_convention)]
    68
        #[inline]
    87
        /// [`Ret`]: struct.Ret.html
    88
        #[allow(clippy::wrong_self_convention)]
    89
        #[inline]
  • stardust-xr-schemas 1.4.0/src/generated/input.rs
    103
      #[inline]
    104
      #[allow(clippy::wrong_self_convention)]
    105
      fn from_little_endian(v: u8) -> Self {
  • stm32f1xx-hal 0.10.0/src/crc.rs
    8
        /// Constrains the CRC peripheral to play nicely with the other abstractions
    9
        #[allow(clippy::wrong_self_convention, clippy::new_ret_no_self)]
    10
        fn new(self) -> Crc;
  • stm32f1xx-hal-bxcan 0.8.0/src/crc.rs
    8
        /// Constrains the CRC peripheral to play nicely with the other abstractions
    9
        #[allow(clippy::wrong_self_convention, clippy::new_ret_no_self)]
    10
        fn new(self, ahb: &mut AHB) -> Crc;
  • stripe-rust 0.12.3/src/params.rs
    104
        )]
    105
        #[allow(clippy::wrong_self_convention)]
    106
        pub fn to_object(self) -> Option<T> {
  • struct2map 0.1.6/src/lib.rs
    25
        /// __Constraints__: one-way, will need additional work to re-convert to struct.
    26
        #[allow(clippy::wrong_self_convention)]
    27
        fn to_stringmap(structure: Self) -> StringMap;
    30
        /// __Constraints__: currently only supports primitive types for genericized values.
    31
        #[allow(clippy::wrong_self_convention)]
    32
        fn to_genericmap(structure: Self) -> GenericMap;
  • structmap 0.1.6/src/lib.rs
    26
        /// __Constraints__: one-way, will need additional work to re-convert to struct.
    27
        #[allow(clippy::wrong_self_convention)]
    28
        fn to_stringmap(structure: Self) -> StringMap;
    31
        /// __Constraints__: currently only supports primitive types for genericized values.
    32
        #[allow(clippy::wrong_self_convention)]
    33
        fn to_genericmap(structure: Self) -> GenericMap;
  • structural 0.4.3/src/enums/variant_proxy.rs
    475
        // WTF is the convention for *mut Self -> *mut T conversions
    476
        #[allow(clippy::wrong_self_convention)]
    477
        pub unsafe fn as_raw_mut(this: *mut Self) -> *mut T {
  • stubr 0.5.1/src/verify/mapping/req/body.rs
    55
        #[allow(clippy::wrong_self_convention)]
    56
        fn to_bytes(self) -> Option<Vec<u8>> {
    66
        #[allow(clippy::wrong_self_convention)]
    67
        fn to_value(self) -> Option<Value> {
  • styled_components 0.53.4/src/visitors/transpile_css_prop/transpile.rs
    58
        #[allow(clippy::wrong_self_convention)]
    59
        fn is_top_level_ident(&self, ident: &Ident) -> bool {
  • summavy 0.25.3/src/indexer/delete_queue.rs
    191
        #[allow(clippy::wrong_self_convention)]
    192
        fn is_behind_opstamp(&mut self, target_opstamp: Opstamp) -> bool {
  • suspend_fn 0.1.0/src/lib.rs
    102
    #[doc(hidden)]
    103
    #[allow(clippy::wrong_self_convention)]
    104
    pub mod __private {
  • svd-rs 0.14.1/src/enumeratedvalue.rs
    79
        }
    80
        #[allow(clippy::wrong_self_convention)]
    81
        /// Set if the enumerated value is defaulted for non-explicit values.
  • swc_common 0.29.29/src/input.rs
    257
        #[inline]
    258
        #[allow(clippy::wrong_self_convention)]
    259
        fn is_byte(&mut self, c: u8) -> bool {
  • swc_ecma_utils 0.107.5/src/factory.rs
    17
    /// to create literals. Almost all rust core types implements `Into<Expr>`.
    18
    #[allow(clippy::wrong_self_convention)]
    19
    pub trait ExprFactory: Into<Expr> {
  • symcc_runtime 0.9.0/src/filter/coverage.rs
    73
        #[allow(clippy::wrong_self_convention)]
    74
        pub fn is_interesting(&self) -> bool {
  • synthizer 0.5.4/src/handle.rs
    74
        #[allow(clippy::wrong_self_convention)]
    75
        pub(crate) fn from_handle_internal(h: Handle) -> Handle {
  • t-rust-less-lib 0.2.16/src/lib.rs
    17
    #[allow(
    18
      clippy::wrong_self_convention,
    19
      clippy::redundant_closure,
  • tantivy 0.19.1/src/indexer/delete_queue.rs
    191
        #[allow(clippy::wrong_self_convention)]
    192
        fn is_behind_opstamp(&mut self, target_opstamp: Opstamp) -> bool {
  • tch 0.10.1/src/data.rs
    81
        /// Transfers the mini-batches to a specified device.
    82
        #[allow(clippy::wrong_self_convention)]
    83
        pub fn to_device(&mut self, device: Device) -> &mut Iter2 {
  • tcs3400 0.1.0/src/reading.rs
    10
        /// Indicates that the RGBC channels have completed an integration cycle.
    11
        #[allow(clippy::wrong_self_convention)]
    12
        pub fn is_rgbc_status_valid(&mut self) -> Result<bool, Error<E>> {
  • tcs3472 0.2.0/src/reading.rs
    10
        /// Indicates that the RGBC channels have completed an integration cycle.
    11
        #[allow(clippy::wrong_self_convention)]
    12
        pub fn is_rgbc_status_valid(&mut self) -> Result<bool, Error<E>> {
  • tealr 0.9.0-alpha4/src/mlu/typed_function.rs
    37
    {
    38
        #[allow(clippy::wrong_self_convention)]
    39
        fn to_lua(self, _: &'lua Lua) -> mlua::Result<Value<'lua>> {
  • tealr 0.9.0-alpha4/src/rlu/typed_function.rs
    36
    {
    37
        #[allow(clippy::wrong_self_convention)]
    38
        fn to_lua(self, _: Context<'lua>) -> rlua::Result<Value<'lua>> {
  • teloxide-core 0.9.0/src/types/input_message_content.rs
    572
        #[allow(clippy::wrong_self_convention)]
    573
        #[must_use]
  • tensorflow 0.19.1/src/ops.rs
    27
        clippy::too_many_arguments,
    28
        clippy::wrong_self_convention
    29
    )]
  • test-curve25519-dalek 4.0.0-pre.17/src/backend/serial/u32/scalar.rs
    381
        /// Takes a Scalar29 out of Montgomery form, i.e. computes `a/R (mod l)`
    382
        #[allow(clippy::wrong_self_convention)]
    383
        pub fn from_montgomery(&self) -> Scalar29 {
  • test-curve25519-dalek 4.0.0-pre.17/src/backend/serial/u64/scalar.rs
    310
        /// Takes a Scalar52 out of Montgomery form, i.e. computes `a/R (mod l)`
    311
        #[allow(clippy::wrong_self_convention)]
    312
        #[inline(never)]
  • tg-bot-api 0.4.4/src/util.rs
    4
    pub trait StrExt {
    5
        #[allow(clippy::wrong_self_convention)]
    6
        fn is_first_letter_lowercase(self) -> bool;
  • tgbot 0.18.0/src/methods/chat/member/promote.rs
    98
        /// Administrator's presence in the chat is hidden if true
    99
        #[allow(clippy::wrong_self_convention)]
    100
        pub fn is_anonymous(mut self, is_anonymous: bool) -> Self {
  • tgbot 0.18.0/src/methods/poll/send.rs
    45
        /// True, if the quiz needs to be anonymous, defaults to True
    46
        #[allow(clippy::wrong_self_convention)]
    47
        pub fn is_anonymous(mut self, is_anonymous: bool) -> Self {
    103
        /// Pass True, if the poll needs to be immediately closed
    104
        #[allow(clippy::wrong_self_convention)]
    105
        pub fn is_closed(mut self, is_closed: bool) -> Self {
    190
        /// True, if the poll needs to be anonymous, defaults to True
    191
        #[allow(clippy::wrong_self_convention)]
    192
        pub fn is_anonymous(mut self, is_anonymous: bool) -> Self {
    222
        /// Pass True, if the poll needs to be immediately closed
    223
        #[allow(clippy::wrong_self_convention)]
    224
        pub fn is_closed(mut self, is_closed: bool) -> Self {
  • thetvdb 0.1.0-beta.2/src/params.rs
    551
        /// Set `toTime` parameter.
    552
        #[allow(clippy::wrong_self_convention)]
    553
        pub fn to_time<D>(mut self, to: D) -> Self
  • thindx 0.0.0-unsound.5/src/dll.rs
    99
        #[allow(clippy::wrong_self_convention)]
    100
        fn as_hmodule(self) -> HMODULE {
  • tide 0.17.0-beta.1/src/listener/to_listener.rs
    59
        /// unsuccessful bind attempt.
    60
        #[allow(clippy::wrong_self_convention)]
    61
        fn to_listener(self) -> io::Result<Self::Listener>;
  • tide-serve 0.0.11/src/dyn_listener.rs
    48
        type Listener = DynListener<T>;
    49
        #[allow(clippy::wrong_self_convention)]
    50
        fn to_listener(self) -> std::io::Result<Self::Listener> {
  • tmp006 0.2.0/src/reading.rs
    85
        /// When this returens `false` it means that a conversion is in progress.
    86
        #[allow(clippy::wrong_self_convention)]
    87
        pub fn is_data_ready(&mut self) -> Result<bool, Error<E>> {
  • tmp1x2 0.2.1/src/reading.rs
    81
        /// [AlertPolarity](enum.AlertPolarity.html).
    82
        #[allow(clippy::wrong_self_convention)]
    83
        pub fn is_comparator_mode_alert_active(&mut self) -> Result<bool, Error<E>> {
  • tokio 1.25.0/src/runtime/park.rs
    306
    impl Inner {
    307
        #[allow(clippy::wrong_self_convention)]
    308
        fn into_raw(this: Arc<Inner>) -> *const () {
  • tokio 1.25.0/src/util/linked_list.rs
    52
        /// Convert the handle to a raw pointer without consuming the handle.
    53
        #[allow(clippy::wrong_self_convention)]
    54
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • tokio-executor 0.2.0-alpha.6/src/park.rs
    222
    impl Inner {
    223
        #[allow(clippy::wrong_self_convention)]
    224
        pub(crate) fn into_raw(this: Arc<Inner>) -> *const () {
  • tokio-postgres 0.7.7/src/error/mod.rs
    464
        #[allow(clippy::wrong_self_convention)]
    465
        pub(crate) fn to_sql(e: Box<dyn error::Error + Sync + Send>, idx: usize) -> Error {
  • tokio-seqpacket 0.5.6/src/ancillary.rs
    218
    	/// `SOL_SOCKET` and level of `SCM_RIGHTS`.
    219
    	#[allow(clippy::wrong_self_convention)]
    220
    	unsafe fn as_rights(data: &'a [u8]) -> Self {
    232
    	#[cfg(any(target_os = "android", target_os = "linux",))]
    233
    	#[allow(clippy::wrong_self_convention)]
    234
    	unsafe fn as_credentials(data: &'a [u8]) -> Self {
  • tokio-stream 0.1.11/src/wrappers/lines.rs
    32
        /// Obtain a pinned reference to the inner `Lines<R>`.
    33
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/4546
    34
        pub fn as_pin_mut(self: Pin<&mut Self>) -> Pin<&mut Lines<R>> {
  • tokio-stream 0.1.11/src/wrappers/split.rs
    32
        /// Obtain a pinned reference to the inner `Split<R>`.
    33
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/4546
    34
        pub fn as_pin_mut(self: Pin<&mut Self>) -> Pin<&mut Split<R>> {
  • tokio-sync 0.2.0-alpha.6/src/semaphore.rs
    883
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/4293
    884
        fn into_non_null(self: Arc<WaiterNode>) -> NonNull<WaiterNode> {
  • tokio_wasi 1.23.0/src/runtime/park.rs
    306
    impl Inner {
    307
        #[allow(clippy::wrong_self_convention)]
    308
        fn into_raw(this: Arc<Inner>) -> *const () {
  • tokio_wasi 1.23.0/src/util/linked_list.rs
    52
        /// Convert the handle to a raw pointer without consuming the handle.
    53
        #[allow(clippy::wrong_self_convention)]
    54
        fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>;
  • tonic 0.8.3/src/status.rs
    556
        #[allow(clippy::wrong_self_convention)]
    557
        /// Build an `http::Response` from the given `Status`.
  • tonic-arcanyx-fork 0.8.1-alpha.0/src/status.rs
    555
        #[allow(clippy::wrong_self_convention)]
    556
        /// Build an `http::Response` from the given `Status`.
  • tor-netdoc 0.6.0/src/parse/tokenize.rs
    636
        // mutated..  We don't want inner mutability just to placate clippy for an internal API.
    637
        #[allow(clippy::wrong_self_convention)]
    638
        pub(crate) fn is_exhausted(&mut self) -> bool {
  • tower-http 0.3.5/src/auth/add_authorization.rs
    94
        /// [sensitive]: https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive
    95
        #[allow(clippy::wrong_self_convention)]
    96
        pub fn as_sensitive(mut self, sensitive: bool) -> Self {
    157
        /// [sensitive]: https://docs.rs/http/latest/http/header/struct.HeaderValue.html#method.set_sensitive
    158
        #[allow(clippy::wrong_self_convention)]
    159
        pub fn as_sensitive(mut self, sensitive: bool) -> Self {
  • tower-limit 0.3.1/src/concurrency/sync/semaphore.rs
    819
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/4293
    820
        fn into_non_null(self: Arc<WaiterNode>) -> NonNull<WaiterNode> {
  • tracelogging 0.1.0/src/guid.rs
    239
        /// ```
    240
        #[allow(clippy::wrong_self_convention)]
    241
        pub const fn to_fields(&self) -> (u32, u16, u16, [u8; 8]) {
    251
        /// ```
    252
        #[allow(clippy::wrong_self_convention)]
    253
        pub const fn to_bytes_be(&self) -> [u8; 16] {
    280
        /// ```
    281
        #[allow(clippy::wrong_self_convention)]
    282
        pub const fn to_bytes_le(&self) -> [u8; 16] {
    309
        /// ```
    310
        #[allow(clippy::wrong_self_convention)]
    311
        pub const fn to_u128(&self) -> u128 {
    325
        /// ```
    326
        #[allow(clippy::wrong_self_convention)]
    327
        pub const fn to_utf8_bytes(&self) -> [u8; 36] {
  • tracelogging_macros 0.1.0/src/guid.rs
    239
        /// ```
    240
        #[allow(clippy::wrong_self_convention)]
    241
        pub const fn to_fields(&self) -> (u32, u16, u16, [u8; 8]) {
    251
        /// ```
    252
        #[allow(clippy::wrong_self_convention)]
    253
        pub const fn to_bytes_be(&self) -> [u8; 16] {
    280
        /// ```
    281
        #[allow(clippy::wrong_self_convention)]
    282
        pub const fn to_bytes_le(&self) -> [u8; 16] {
    309
        /// ```
    310
        #[allow(clippy::wrong_self_convention)]
    311
        pub const fn to_u128(&self) -> u128 {
    325
        /// ```
    326
        #[allow(clippy::wrong_self_convention)]
    327
        pub const fn to_utf8_bytes(&self) -> [u8; 36] {
  • tracing-core 0.1.30/src/span.rs
    81
        // Allow `into` by-ref since we don't want to impl Copy for Id
    82
        #[allow(clippy::wrong_self_convention)]
    83
        /// Returns the span's ID as a `u64`.
    88
        // Allow `into` by-ref since we don't want to impl Copy for Id
    89
        #[allow(clippy::wrong_self_convention)]
    90
        /// Returns the span's ID as a `NonZeroU64`.
  • tracing-subscriber 0.3.16/src/filter/env/builder.rs
    192
        // being constructed "from" the directives, rather than the builder itself.
    193
        #[allow(clippy::wrong_self_convention)]
    194
        pub(super) fn from_directives(
  • tree-sitter-facade 0.9.0/src/node.rs
    221
            #[inline]
    222
            #[allow(clippy::wrong_self_convention)]
    223
            pub fn to_sexp(&self) -> Cow<str> {
    543
            #[inline]
    544
            #[allow(clippy::wrong_self_convention)]
    545
            pub fn to_sexp(&self) -> Cow<str> {
  • tree-sitter-facade-sg 0.9.1/src/node.rs
    221
            #[inline]
    222
            #[allow(clippy::wrong_self_convention)]
    223
            pub fn to_sexp(&self) -> Cow<str> {
    545
            #[inline]
    546
            #[allow(clippy::wrong_self_convention)]
    547
            pub fn to_sexp(&self) -> Cow<str> {
  • tremor-script 0.13.0-rc.11/src/ast/deploy.rs
    176
        // we get the field called 'from'  as muttable
    177
        #[allow(clippy::wrong_self_convention)]
    178
        pub(crate) fn from_mut(&mut self) -> &mut DeployEndpoint {
  • tremor-script 0.13.0-rc.11/src/lexer.rs
    562
    // LALRPOP requires a means to convert spanned tokens to triple form
    563
    #[allow(clippy::wrong_self_convention)]
    564
    impl<'input> __ToTriple<'input> for Spanned<'input> {
  • trezm-redis 0.15.2-alpha.0/src/connection.rs
    761
        /// subscription.
    762
        #[allow(clippy::wrong_self_convention)]
    763
        pub fn from_pattern(&self) -> bool {
  • trust-dns-proto 0.22.0/src/rr/dnssec/mod.rs
    67
        /// This is an empty type, enable Ring or OpenSSL for this feature
    68
        #[allow(clippy::wrong_self_convention)]
    69
        pub fn to_owned(&self) -> Vec<u8> {
  • trust-dns-proto 0.22.0/src/rr/domain/name.rs
    898
    trait LabelEnc {
    899
        #[allow(clippy::wrong_self_convention)]
    900
        fn to_label(name: &str) -> ProtoResult<Label>;
    905
    impl LabelEnc for LabelEncAscii {
    906
        #[allow(clippy::wrong_self_convention)]
    907
        fn to_label(name: &str) -> ProtoResult<Label> {
    917
    impl LabelEnc for LabelEncUtf8 {
    918
        #[allow(clippy::wrong_self_convention)]
    919
        fn to_label(name: &str) -> ProtoResult<Label> {
  • tugger 0.18.0/src/starlark/wix_installer.rs
    438
        #[allow(clippy::wrong_self_convention)]
    439
        fn to_file_content(
  • tulipv2-sdk-common 0.9.22/src/math/decimal.rs
    65
        /// Return raw scaled value if it fits within u128
    66
        #[allow(clippy::wrong_self_convention)]
    67
        pub fn to_scaled_val(&self) -> Result<u128, ProgramError> {
  • tulipv2-sdk-common 0.9.22/src/math/rate.rs
    76
        /// Return raw scaled value
    77
        #[allow(clippy::wrong_self_convention)]
    78
        pub fn to_scaled_val(&self) -> u128 {
  • tun 0.5.4/src/address.rs
    20
    /// Helper trait to convert things into IPv4 addresses.
    21
    #[allow(clippy::wrong_self_convention)]
    22
    pub trait IntoAddress {
  • tune 0.32.0/src/midi.rs
    102
        /// ```
    103
        #[allow(clippy::wrong_self_convention)] // Would require a breaking change. Fix when appropriate.
    104
        pub fn to_raw_message(&self) -> [u8; 3] {
  • twenty-first 0.15.0/src/shared_math/traits.rs
    56
        #[must_use]
    57
        #[allow(clippy::wrong_self_convention)]
    58
        fn from_vecu8(bytes: Vec<u8>) -> Self;
  • tx5 0.0.1-alpha.3/src/buf/imp/imp_go_pion.rs
    96
        #[inline]
    97
        #[allow(clippy::wrong_self_convention)] // ya, well, we need it mut
    98
        pub fn len(&mut self) -> Result<usize> {
    102
        #[inline]
    103
        #[allow(clippy::wrong_self_convention)] // ya, well, we need it mut
    104
        pub fn to_vec(&mut self) -> Result<Vec<u8>> {
    108
        #[inline]
    109
        #[allow(clippy::wrong_self_convention)] // ya, well, we need it mut
    110
        pub fn to_json<D>(&mut self) -> Result<D>
  • uclicious_derive 0.1.7/src/bindings.rs
    35
    /// Into trait.
    36
    #[allow(clippy::wrong_self_convention)]
    37
    pub fn into_trait() -> Path {
  • unic-segment 0.9.0/src/grapheme.rs
    535
        // a less ambiguous name`
    536
        #[cfg_attr(feature = "cargo-clippy", allow(wrong_self_convention))]
    537
        /// Determine whether the current cursor location is a grapheme cluster boundary.
  • uplink 0.6.0/src/metadata.rs
    117
        /// after the first are very cheap because the returned value is cached.
    118
        #[allow(clippy::wrong_self_convention)]
    119
        pub(crate) fn to_ffi_custom_metadata(&mut self) -> ulksys::UplinkCustomMetadata {
  • uplink 0.6.0/src/project/options.rs
    27
        /// reference.
    28
        #[allow(clippy::wrong_self_convention)]
    29
        pub(crate) fn to_ffi_commit_upload_options(&mut self) -> ulksys::UplinkCommitUploadOptions {
  • ureq 2.6.2/src/error.rs
    363
    impl ErrorKind {
    364
        #[allow(clippy::wrong_self_convention)]
    365
        #[allow(clippy::new_ret_no_self)]
  • uu_tail 0.0.17/src/paths.rs
    126
    pub trait FileExtTail {
    127
        #[allow(clippy::wrong_self_convention)]
    128
        fn is_seekable(&mut self, current_offset: u64) -> bool;
  • uu_tail 0.0.17/src/platform/unix.rs
    27
        // Borrowing mutably to be aligned with Windows implementation
    28
        #[allow(clippy::wrong_self_convention)]
    29
        pub fn is_dead(&mut self) -> bool {
  • uu_tail 0.0.17/src/platform/windows.rs
    32
        #[allow(clippy::wrong_self_convention)]
    33
        pub fn is_dead(&mut self) -> bool {
  • v_frame 0.3.3/src/pixel.rs
    110
        #[inline]
    111
        #[allow(clippy::wrong_self_convention)]
    112
        fn to_asm_stride(in_stride: usize) -> isize {
  • v8 0.62.0/src/support.rs
    530
      #[allow(clippy::wrong_self_convention)]
    531
      pub unsafe fn to_embedder<E>(self, field: &F) -> &E {
    537
      #[allow(clippy::wrong_self_convention)]
    538
      pub unsafe fn to_embedder_mut<E>(self, field: &mut F) -> &mut E {
  • varlink 11.0.1/src/lib.rs
    655
        #[allow(clippy::wrong_self_convention)]
    656
        fn to_upgraded(&mut self);
  • vector2math 0.13.1/src/group.rs
    197
        /// Get the trio
    198
        #[allow(clippy::wrong_self_convention)]
    199
        fn into_trio(self) -> (Self::Item, Self::Item, Self::Item);
  • volo-grpc 0.3.0/src/status.rs
    613
        /// Build trailer-only response by 'grpc-status' 'grpc-message' 'grpc-status-details-bin'
    614
        #[allow(clippy::wrong_self_convention)]
    615
        pub fn to_http(self) -> http::Response<Body> {
  • vptr 0.2.1/src/lib.rs
    450
    #[cfg(feature = "std")]
    451
    #[allow(clippy::wrong_self_convention)]
    452
    impl<Trait: ?Sized + 'static> ThinBox<Trait> {
  • vsd 0.2.5/src/commands/save.rs
    378
        #[allow(clippy::wrong_self_convention)]
    379
        pub fn to_download_state(mut self) -> Result<DownloadState> {
  • w5500-dhcp 0.4.2/src/pkt.rs
    411
    impl<'a, W: Registers> PktDe<'a, W> {
    412
        #[allow(clippy::wrong_self_convention)]
    413
        pub fn is_bootreply(&mut self) -> Result<bool, Error<W::Error>> {
  • w5500-hl 0.9.0/src/lib.rs
    254
        /// [Closing]: w5500_ll::SocketStatus::Closing
    255
        #[allow(clippy::wrong_self_convention)]
    256
        fn is_state_closed(&mut self, sn: Sn) -> Result<bool, Self::Error> {
    304
        /// [LastAck]: w5500_ll::SocketStatus::LastAck
    305
        #[allow(clippy::wrong_self_convention)]
    306
        fn is_state_tcp(&mut self, sn: Sn) -> Result<bool, Self::Error> {
    342
        /// [Udp]: w5500_ll::SocketStatus::Udp
    343
        #[allow(clippy::wrong_self_convention)]
    344
        fn is_state_udp(&mut self, sn: Sn) -> Result<bool, Self::Error> {
  • waffles-solana-zk-token-sdk 1.15.0/src/encryption/elgamal.rs
    276
        #[allow(clippy::wrong_self_convention)]
    277
        pub fn to_bytes(&self) -> [u8; 32] {
    436
        #[allow(clippy::wrong_self_convention)]
    437
        pub fn to_bytes(&self) -> [u8; 64] {
    559
        #[allow(clippy::wrong_self_convention)]
    560
        pub fn to_bytes(&self) -> [u8; 32] {
  • waffles-solana-zk-token-sdk 1.15.0/src/encryption/pedersen.rs
    81
        #[allow(clippy::wrong_self_convention)]
    82
        pub fn as_bytes(&self) -> &[u8; 32] {
    86
        #[allow(clippy::wrong_self_convention)]
    87
        pub fn to_bytes(&self) -> [u8; 32] {
    174
        #[allow(clippy::wrong_self_convention)]
    175
        pub fn to_bytes(&self) -> [u8; 32] {
  • wasm-utils 0.2.0/src/proof/ext_data.rs
    75
    }
    76
    #[allow(clippy::wrong_self_convention)]
    77
    pub trait IntoAbiToken {
  • wayland-commons 0.29.5/src/lib.rs
    83
        // -- The lint is allowed because fixing it would be a breaking change --
    84
        #[allow(clippy::wrong_self_convention)]
    85
        fn as_raw_c_in<F, T>(self, f: F) -> T
  • web3-async-native-tls 0.4.0/src/lib.rs
    112
            /// The host as string. Consumes self.
    113
            #[allow(clippy::wrong_self_convention)]
    114
            pub fn as_string(self) -> String {
  • webkit2gtk5-webextension 0.2.0/src/lib.rs
    61
    #[allow(clippy::too_many_arguments)]
    62
    #[allow(clippy::wrong_self_convention)]
    63
    mod auto;
  • websocket-base 0.26.5/src/message.rs
    122
    	// TODO: change this to match conventions
    123
    	#[allow(clippy::wrong_self_convention)]
    124
    	/// Convert a ping message to a pong, keeping the data.
  • weechat-macro 0.4.0/src/lib.rs
    33
    impl WeechatVariable {
    34
        #[allow(clippy::wrong_self_convention)]
    35
        fn to_pair(string: &LitStr) -> (usize, Literal) {
  • win-crypto-ng 0.4.0/src/helpers/blob.rs
    50
        // TODO: Remove once we bump MSRV to a newer clippy
    51
        #[allow(clippy::wrong_self_convention)]
    52
        pub fn into_bytes(self: Box<Self>) -> Box<[u8]> {
  • winsfs-core 0.1.0/src/io.rs
    58
        /// Returns `true` if reader has reached the end of the data, `false` otherwise.
    59
        #[allow(clippy::wrong_self_convention)]
    60
        fn is_done(&mut self) -> io::Result<bool>;
  • wolfram-expr 0.1.3/src/lib.rs
    84
        // must be done.
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub fn to_kind(self) -> ExprKind {
  • wot-td 0.2.0/src/hlist.rs
    108
        /// Create a heterogeneous list of mutable references
    109
        #[allow(clippy::wrong_self_convention)]
    110
        fn to_mut(self) -> Self::Target;
  • wrangler 1.19.13/src/terminal/message.rs
    50
        fn deprecation_warning(msg: &str);
    51
        #[allow(clippy::wrong_self_convention)]
    52
        fn as_json<T>(value: &T)
  • xml5ever 0.17.0/src/driver.rs
    84
        /// Decoding is lossy, like `String::from_utf8_lossy`.
    85
        #[allow(clippy::wrong_self_convention)]
    86
        pub fn from_utf8(self) -> Utf8LossyDecoder<Self> {
  • ya-runtime-sdk 0.4.0/src/context.rs
    308
        #[allow(clippy::wrong_self_convention)]
    309
        /// Wrap `self` in `run_command`
  • yary 0.1.1/src/event/parser/mod.rs
    114
        /// [`Parser`], via the given .tokens
    115
        #[allow(clippy::wrong_self_convention)]
    116
        pub fn into_iter<'a, 'b, 'de, T>(
  • ydb 0.5.2/src/types.rs
    273
        #[allow(clippy::wrong_self_convention)]
    274
        pub(crate) fn to_typed_value(self) -> YdbResult<ydb_proto::TypedValue> {
  • yuuang-test-napi 1.7.6/src/env.rs
    1287
      #[cfg(feature = "serde-json")]
    1288
      #[allow(clippy::wrong_self_convention)]
    1289
      #[inline]
  • zcash_history 0.3.0/src/version.rs
    82
        /// Converts to byte representation.
    83
        #[allow(clippy::wrong_self_convention)]
    84
        fn to_bytes(data: &Self::NodeData) -> Vec<u8> {
  • zeptohttpc 0.5.1/src/lib.rs
    102
        fn empty(self) -> Result<Request<EmptyBody>, HttpError>;
    103
        #[allow(clippy::wrong_self_convention)]
    104
        fn from_mem<B: AsRef<[u8]>>(self, body: B) -> Result<Request<MemBody<B>>, HttpError>;
    105
        #[allow(clippy::wrong_self_convention)]
    106
        fn from_io<B: Seek + Read>(self, body: B) -> Result<Request<IoBody<B>>, HttpError>;
  • zerogc-simple 0.2.0-alpha.7/src/layout.rs
    87
        #[inline]
    88
        #[allow(clippy::wrong_self_convention)]
    89
        pub(crate) const unsafe fn from_common_header(self, ptr: *mut GcHeader) -> *mut H {
  • zerovec 0.9.2/src/ule/mod.rs
    148
        #[inline]
    149
        #[allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/7219
    150
        fn as_byte_slice(slice: &[Self]) -> &[u8] {
  • zip 0.6.3/src/cp437.rs
    9
        /// Generally allocations will be avoided if all data falls into the ASCII range.
    10
        #[allow(clippy::wrong_self_convention)]
    11
        fn from_cp437(self) -> Self::Target;
  • aiken-lang 0.0.28/src/pretty.rs
    13
    //! - `FlexBreak` from Elixir.
    14
    #![allow(clippy::wrong_self_convention)]
  • aliasable 0.1.3/src/lib.rs
    25
        clippy::needless_pass_by_value,
    26
        clippy::wrong_self_convention,
    27
        clippy::must_use_candidate,
  • anyhow 1.0.68/src/lib.rs
    232
        clippy::wildcard_imports,
    233
        clippy::wrong_self_convention
    234
    )]
  • arrows 0.1.16/src/store/apis.rs
    1
    #![allow(clippy::wrong_self_convention)]
    2
    use crate::common::utils::from_bytes;
  • ash 0.37.2+1.3.238/src/vk.rs
    3
        clippy::cognitive_complexity,
    4
        clippy::wrong_self_convention
    5
    )]
  • av-metrics 0.9.0/src/lib.rs
    7
    #![allow(clippy::unreadable_literal)]
    8
    #![allow(clippy::wrong_self_convention)]
    9
    #![deny(missing_docs)]
  • aws-sdk-accessanalyzer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-account 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-acm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-acmpca 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-alexaforbusiness 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-amp 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-amplify 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-amplifybackend 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-amplifyuibuilder 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-apigateway 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-apigatewaymanagement 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-apigatewayv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appconfig 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appconfigdata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appflow 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appintegrations 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-applicationautoscaling 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-applicationcostprofiler 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-applicationdiscovery 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-applicationinsights 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appmesh 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-apprunner 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appstream 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-appsync 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-arczonalshift 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-athena 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-auditmanager 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-autoscaling 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-autoscalingplans 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-backup 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-backupgateway 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-backupstorage 0.7.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-batch 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-billingconductor 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-braket 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-budgets 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chimesdkidentity 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chimesdkmediapipelines 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chimesdkmeetings 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chimesdkmessaging 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-chimesdkvoice 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cleanrooms 0.1.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloud9 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudcontrol 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-clouddirectory 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudformation 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudfront 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudhsm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudhsmv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudsearch 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudsearchdomain 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudtrail 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudwatch 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudwatchevents 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cloudwatchlogs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codeartifact 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codebuild 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codecatalyst 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codecommit 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codedeploy 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codeguruprofiler 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codegurureviewer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codepipeline 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codestar 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codestarconnections 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-codestarnotifications 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cognitoidentity 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cognitoidentityprovider 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-cognitosync 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-comprehend 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-comprehendmedical 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-computeoptimizer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-config 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-connect 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-connectcampaigns 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-connectcases 0.5.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-connectcontactlens 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-connectparticipant 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-controltower 0.5.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-costandusagereport 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-costexplorer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-customerprofiles 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-databasemigration 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-databrew 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-dataexchange 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-datapipeline 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-datasync 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-dax 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-detective 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-devicefarm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-devopsguru 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-directconnect 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-directory 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-dlm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-docdb 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-docdbelastic 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-drs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-dynamodb 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-dynamodbstreams 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ebs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ec2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ec2instanceconnect 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ecr 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ecrpublic 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ecs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-efs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-eks 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticache 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticbeanstalk 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticinference 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticloadbalancing 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticloadbalancingv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elasticsearch 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-elastictranscoder 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-emr 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-emrcontainers 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-emrserverless 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-eventbridge 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-evidently 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-finspace 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-finspacedata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-firehose 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-fis 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-fms 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-forecast 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-forecastquery 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-frauddetector 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-fsx 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-gamelift 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-gamesparks 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-glacier 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-globalaccelerator 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-glue 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-grafana 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-greengrass 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-greengrassv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-groundstation 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-guardduty 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-health 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-healthlake 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-honeycode 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iam 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-identitystore 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-imagebuilder 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-inspector 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-inspector2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iot 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iot1clickdevices 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iot1clickprojects 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotanalytics 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotdataplane 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotdeviceadvisor 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotevents 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ioteventsdata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotfleethub 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotfleetwise 0.5.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotjobsdataplane 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotroborunner 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotsecuretunneling 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotsitewise 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotthingsgraph 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iottwinmaker 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-iotwireless 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ivs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ivschat 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kafka 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kafkaconnect 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kendra 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kendraranking 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-keyspaces 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesis 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisanalytics 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisanalyticsv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisvideo 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisvideoarchivedmedia 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisvideomedia 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisvideosignaling 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kinesisvideowebrtcstorage 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-kms 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lakeformation 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lambda 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lexmodelbuilding 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lexmodelsv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lexruntime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lexruntimev2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-licensemanager 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-licensemanagerlinuxsubscriptions 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-licensemanagerusersubscriptions 0.8.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lightsail 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-location 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lookoutequipment 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lookoutmetrics 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-lookoutvision 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-m2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-machinelearning 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-macie 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-macie2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-managedblockchain 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-marketplacecatalog 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-marketplacecommerceanalytics 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-marketplaceentitlement 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-marketplacemetering 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediaconnect 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediaconvert 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-medialive 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediapackage 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediapackagevod 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediastore 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediastoredata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mediatailor 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-memorydb 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mgn 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-migrationhub 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-migrationhubconfig 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-migrationhuborchestrator 0.5.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-migrationhubrefactorspaces 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-migrationhubstrategy 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mobile 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mq 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mturk 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-mwaa 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-neptune 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-networkfirewall 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-networkmanager 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-nimble 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-oam 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-omics 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-opensearch 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-opensearchserverless 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-opsworks 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-opsworkscm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-organizations 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-outposts 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-panorama 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-personalize 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-personalizeevents 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-personalizeruntime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pi 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pinpoint 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pinpointemail 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pinpointsmsvoice 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pinpointsmsvoicev2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pipes 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-polly 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-pricing 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-privatenetworks 0.7.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-proton 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-qldb 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-qldbsession 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-quicksight 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ram 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rbin 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rds 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rdsdata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-redshift 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-redshiftdata 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-redshiftserverless 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rekognition 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-resiliencehub 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-resourceexplorer2 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-resourcegroups 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-resourcegroupstagging 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-robomaker 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rolesanywhere 0.9.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53domains 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53recoverycluster 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53recoverycontrolconfig 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53recoveryreadiness 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-route53resolver 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-rum 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-s3 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-s3control 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-s3outposts 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemaker 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakera2iruntime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakeredge 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakerfeaturestoreruntime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakergeospatial 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakermetrics 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sagemakerruntime 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-savingsplans 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-scheduler 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-schemas 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-secretsmanager 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-securityhub 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-securitylake 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-serverlessapplicationrepository 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-servicecatalog 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-servicecatalogappregistry 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-servicediscovery 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-servicequotas 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ses 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sesv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sfn 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-shield 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-signer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-simspaceweaver 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sms 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-snowball 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-snowdevicemanagement 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sns 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sqs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssm 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssmcontacts 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssmincidents 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssmsap 0.2.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sso 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssoadmin 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-ssooidc 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-storagegateway 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-sts 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-support 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-supportapp 0.7.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-swf 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-synthetics 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-textract 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-transcribe 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-transcribestreaming 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-transfer 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-translate 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-voiceid 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-waf 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-wafregional 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-wafv2 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-wellarchitected 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-wisdom 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-workdocs 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-worklink 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-workmail 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-workmailmessageflow 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-workspaces 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-workspacesweb 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • aws-sdk-xray 0.24.0/src/lib.rs
    4
    #![allow(clippy::large_enum_variant)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::should_implement_trait)]
  • binance_spot_connector_rust 1.0.0/src/market/historical_trades.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • binfmt 0.1.0/src/lib.rs
    1
    #![deny(warnings)]
    2
    #![allow(clippy::wrong_self_convention)]
  • blstrs 0.6.1/src/lib.rs
    6
    #![allow(clippy::many_single_char_names)]
    7
    #![allow(clippy::wrong_self_convention)]
  • cairo-rs 0.16.7/src/lib.rs
    4
    #![allow(clippy::missing_safety_doc)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![allow(clippy::non_send_fields_in_send_ty)]
  • cairo-rs-colors 0.15.0/src/lib.rs
    4
    #![allow(clippy::missing_safety_doc)]
    5
    #![allow(clippy::wrong_self_convention)]
    6
    #![doc = include_str!("../README.md")]
  • cargo-semverver 0.34.0/src/cargo/lib.rs
    15
    #![allow(clippy::type_complexity)] // there's an exceptionally complex type
    16
    #![allow(clippy::wrong_self_convention)] // perhaps Rc should be special cased in Clippy?
  • clutter-rs 0.1.2/src/lib.rs
    10
        clippy::new_ret_no_self,
    11
        clippy::wrong_self_convention
    12
    )]
  • cogo-redis 0.1.0/src/cmd/mod.rs
    1
    //! Redis commands
    2
    #![allow(non_snake_case, clippy::wrong_self_convention)]
  • const_format 0.2.30/src/lib.rs
    364
    // All The methods that take self by value are for small Copy types
    365
    #![allow(clippy::wrong_self_convention)]
    366
    #![allow(clippy::init_numbered_fields)]
  • const_format 0.2.30/src/pargument.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • contack 0.9.2/src/lib.rs
    9
        clippy::missing_const_for_fn,
    10
        clippy::wrong_self_convention,
    11
        clippy::redundant_feature_names
  • cryptoxide 0.4.2/src/lib.rs
    31
    #![allow(clippy::redundant_field_names)]
    32
    #![allow(clippy::wrong_self_convention)]
    33
    #![allow(clippy::identity_op)]
  • cxx 1.0.88/src/lib.rs
    396
        clippy::useless_let_if_seq,
    397
        clippy::wrong_self_convention
    398
    )]
  • cxx-build 1.0.88/src/lib.rs
    79
        // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
    80
        clippy::wrong_self_convention
    81
    )]
  • cxx-gen 0.7.88/src/lib.rs
    38
        // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
    39
        clippy::wrong_self_convention
    40
    )]
  • cxxbridge-cmd 1.0.88/src/main.rs
    28
        // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
    29
        clippy::wrong_self_convention
    30
    )]
  • cxxbridge-macro 1.0.88/src/lib.rs
    28
        // clippy bug: https://github.com/rust-lang/rust-clippy/issues/6983
    29
        clippy::wrong_self_convention
    30
    )]
  • dairy 0.2.2/src/to_boxed.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • describe 0.1.0/src/lib.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • dnssector 0.2.12/src/lib.rs
    14
    #![allow(clippy::useless_let_if_seq)]
    15
    #![allow(clippy::wrong_self_convention)]
  • docktor-api 0.35.2/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • docktor-api-client 0.35.2/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • doubled 0.3.1/src/lib.rs
    1
    #![deny(warnings)]
    2
    #![allow(clippy::wrong_self_convention)]
    3
    #![cfg_attr(not(feature = "simd"), no_std)]
  • ecolor 0.20.0/src/lib.rs
    11
    #![allow(clippy::wrong_self_convention)]
  • elementtree 1.2.3/src/lib.rs
    88
    //! Namespaces need to be registered or the XML generated will be malformed.
    89
    #![allow(clippy::wrong_self_convention)]
  • encode_unicode 1.0.0/src/lib.rs
    51
        clippy::cmp_owned,// smaller than pointer, and no allocations anyway
    52
        clippy::wrong_self_convention,// smaller than pointer
    53
        clippy::needless_range_loop,// the suggested iterator chains are less intuitive
  • ethers-core 1.0.2/src/types/i256.rs
    2
    //! This module was derived for ethers-core via <https://github.com/gnosis/ethcontract-rs/>
    3
    #![allow(clippy::wrong_self_convention)]
    4
    use crate::{
  • eyre 0.6.8/src/lib.rs
    358
        clippy::new_ret_no_self,
    359
        clippy::wrong_self_convention
    360
    )]
  • factorio-mlua 0.8.0/src/conversion.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • factorio-mlua 0.8.0/src/error.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • factorio-mlua 0.8.0/src/multi.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • fathom_web3 1.1.0/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • flatbuffers 23.1.21/src/endian_scalar.rs
    15
     */
    16
    #![allow(clippy::wrong_self_convention)]
  • fuel-crypto 0.25.2/src/lib.rs
    7
    // https://rust-lang.github.io/api-guidelines/naming.html
    8
    #![allow(clippy::wrong_self_convention)]
  • fuel-tx 0.25.2/src/lib.rs
    5
    // https://rust-lang.github.io/api-guidelines/naming.html
    6
    #![allow(clippy::wrong_self_convention)]
  • gdk 0.16.2/src/lib.rs
    5
    #![allow(clippy::upper_case_acronyms)]
    6
    #![allow(clippy::wrong_self_convention)]
    7
    #![doc = include_str!("../README.md")]
  • glam 0.22.0/src/lib.rs
    257
    // clippy doesn't like `to_array(&self)`
    258
    #![allow(clippy::wrong_self_convention)]
    259
    #![cfg_attr(
  • glib 0.16.7/src/lib.rs
    5
    #![allow(clippy::missing_safety_doc)]
    6
    #![allow(clippy::wrong_self_convention)]
    7
    #![allow(clippy::non_send_fields_in_send_ty)]
  • glium 0.32.1/src/lib.rs
    111
        // (Would require API change)
    112
        clippy::wrong_self_convention,
    113
    )]
  • grafix-toolbox 0.8.7/kit/utility/tuple/mod.rs
    1
    #![allow(clippy::len_without_is_empty, clippy::wrong_self_convention)]
    2
    mod apply;
  • grass 0.12.2/src/lib.rs
    65
        clippy::wrong_self_convention,
    66
        clippy::items_after_statements,
  • grass_compiler 0.12.2/src/lib.rs
    65
        clippy::wrong_self_convention,
    66
        clippy::items_after_statements,
  • gsk4 0.5.5/src/lib.rs
    5
    #![allow(clippy::too_many_arguments)]
    6
    #![allow(clippy::wrong_self_convention)]
    7
    #![doc = include_str!("../README.md")]
  • high_mem_utils 0.2.7/src/lib.rs
    2
    #![feature(vec_leak, untagged_unions, const_fn, const_fn_union)]
    3
    #![allow(unused_unsafe, clippy::wrong_self_convention, clippy::map_entry)]
  • ic-web3 0.1.7/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • iced-x86 1.18.0/src/lib.rs
    41
    #![allow(clippy::upper_case_acronyms)]
    42
    #![allow(clippy::wrong_self_convention)]
    43
    #![warn(clippy::cloned_instead_of_copied)]
  • image 0.24.5/src/lib.rs
    94
    // it's a backwards compatibility break
    95
    #![allow(clippy::wrong_self_convention, clippy::enum_variant_names)]
  • kas-core 0.12.1/src/layout/visitor.rs
    8
    // Methods have to take `&mut self`
    9
    #![allow(clippy::wrong_self_convention)]
  • lapce-xi-rope 0.3.1/src/lib.rs
    23
        clippy::should_implement_trait,
    24
        clippy::wrong_self_convention
    25
    )]
  • librespot-core 0.4.2/src/spotify_id.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • lovm2_core 0.4.8/src/lib.rs
    1
    #![allow(clippy::new_without_default)]
    2
    #![allow(clippy::wrong_self_convention)]
    3
    //#![feature(result_cloned)]
  • mco-redis 0.1.2/src/cmd/mod.rs
    1
    //! Redis commands
    2
    #![allow(non_snake_case, clippy::wrong_self_convention)]
  • miette 5.5.0/src/eyreish/mod.rs
    4
        clippy::new_ret_no_self,
    5
        clippy::wrong_self_convention
    6
    )]
  • millennium-core 1.0.0-beta.3/src/lib.rs
    166
    	clippy::identity_op,
    167
    	clippy::wrong_self_convention,
    168
    	clippy::non_send_fields_in_send_ty
  • millennium-webview 1.0.0-beta.3/src/lib.rs
    85
    #![allow(clippy::new_without_default)]
    86
    #![allow(clippy::wrong_self_convention)]
    87
    #![allow(clippy::type_complexity)]
  • minisign 0.7.2/src/lib.rs
    85
        clippy::inherent_to_string,
    86
        clippy::wrong_self_convention,
    87
        clippy::derivable_impls,
  • mlua 0.8.7/src/conversion.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • mlua 0.8.7/src/error.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • mlua 0.8.7/src/multi.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • moose 0.2.2/src/host/mod.rs
    489
    pub trait FromRaw<T, O> {
    490
        #![allow(clippy::wrong_self_convention)]
    491
        fn from_raw(&self, raw: T) -> O;
  • moveit 0.5.1/src/lib.rs
    143
    // These clippy lints are somewhat at odds with our use of `new()`.
    144
    #![allow(clippy::new_ret_no_self, clippy::wrong_self_convention)]
  • notan_app 0.9.1/src/assets/loader.rs
    1
    #![allow(clippy::wrong_self_convention, non_snake_case, clippy::type_complexity)]
  • notan_graphics 0.9.1/src/texture.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • ntex-redis 0.4.1/src/cmd/mod.rs
    1
    //! Redis commands
    2
    #![allow(non_snake_case, clippy::wrong_self_convention)]
  • openstack 0.4.2/src/lib.rs
    152
        clippy::should_implement_trait,
    153
        clippy::wrong_self_convention
    154
    )]
  • openxr 0.17.1/src/generated.rs
    1
    #![doc = r" Automatically generated code; do not edit!"]
    2
    #![allow(clippy::wrong_self_convention, clippy::transmute_ptr_to_ptr)]
    3
    use crate::*;
  • oso 0.26.4/src/host/to_polar.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • packed_simd_2 0.3.8/src/lib.rs
    239
            clippy::use_self,
    240
            clippy::wrong_self_convention,
    241
            clippy::from_over_into,
  • patract-wasmi 0.9.1/examples/tictactoe.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • pink-web3 0.19.4/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • pyxel-extension 1.9.11/src/lib.rs
    17
        clippy::used_underscore_binding,
    18
        clippy::wrong_self_convention,
    19
        clippy::zero_ptr
  • pyxel-wrapper 1.8.2/src/lib.rs
    17
        clippy::used_underscore_binding,
    18
        clippy::wrong_self_convention,
    19
        clippy::zero_ptr
  • quote 1.0.23/src/lib.rs
    90
        // false positive https://github.com/rust-lang/rust-clippy/issues/6983
    91
        clippy::wrong_self_convention,
    92
    )]
  • rav1e 0.6.3/src/lib.rs
    45
    #![allow(clippy::many_single_char_names)]
    46
    #![allow(clippy::wrong_self_convention)]
    47
    #![allow(clippy::missing_safety_doc)]
  • reql 0.11.1/src/lib.rs
    63
    #![allow(clippy::wrong_self_convention)]
  • rivet-chat 0.0.7/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-client-api-chat 0.0.1/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-group 0.0.7/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-identity 0.0.14/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-kv 0.0.8/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-matchmaker 0.0.8/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rivet-party 0.0.7/src/lib.rs
    3
    #![allow(clippy::large_enum_variant)]
    4
    #![allow(clippy::wrong_self_convention)]
    5
    #![allow(clippy::should_implement_trait)]
  • rust-sc2 1.1.2/src/distance/mod.rs
    1
    //! Traits for comparing distance between points and units.
    2
    #![allow(clippy::wrong_self_convention)]
  • rustpython-vm 0.1.2/src/lib.rs
    8
    // for methods like vm.to_str(), not the typical use of 'to' as a method prefix
    9
    #![allow(clippy::wrong_self_convention, clippy::implicit_hasher)]
    10
    #![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/master/logo.png")]
  • rypt 0.8.0/src/shamir/gf256.rs
    1
    #![allow(clippy::wrong_self_convention, clippy::suspicious_arithmetic_impl)]
    2
    use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Sub, SubAssign};
  • safe-quote 1.0.15/src/lib.rs
    93
        // false positive https://github.com/rust-lang/rust-clippy/issues/6983
    94
        clippy::wrong_self_convention,
    95
    )]
  • seed 0.9.2/src/virtual_dom/to_classes.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • sgx_types 1.1.2/src/lib.rs
    23
    #![allow(unused_macros)]
    24
    #![allow(clippy::wrong_self_convention)]
  • sleef 0.3.0/src/lib.rs
    9
    #![allow(clippy::cognitive_complexity)]
    10
    #![allow(clippy::wrong_self_convention)]
    11
    #![feature(portable_simd)]
  • smartcore 0.3.0/src/linalg/traits/mod.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • sonic-server 1.4.0/src/store/keyer.rs
    128
    impl StoreKeyerHasher {
    129
        #![allow(clippy::wrong_self_convention)]
    130
        pub fn to_compact(part: &str) -> u32 {
  • speculoos 0.11.0/src/lib.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • starlark 0.8.0/src/lib.rs
    386
    #![allow(clippy::comparison_to_empty)]
    387
    #![allow(clippy::wrong_self_convention)]
    388
    #![allow(clippy::comparison_chain)]
  • stdext 0.3.1/src/num/integer.rs
    1
    // This interface copies `std` one, thus we must discard clippy complains.
    2
    #![allow(clippy::wrong_self_convention)]
  • sudoku 0.7.0/src/lib.rs
    9
            needless_pass_by_value,
    10
            wrong_self_convention,
    11
            write_with_newline,
  • sum 0.1.7/src/lib.rs
    26
    	clippy::type_complexity,
    27
    	clippy::wrong_self_convention,
    28
    	clippy::must_use_candidate,
  • swc_css_parser 0.143.2/src/lib.rs
    6
    #![allow(clippy::nonminimal_bool)]
    7
    #![allow(clippy::wrong_self_convention)]
  • swc_ecma_parser 0.124.5/src/lib.rs
    124
    #![allow(clippy::vec_box)]
    125
    #![allow(clippy::wrong_self_convention)]
    126
    #![allow(clippy::match_like_matches_macro)]
  • swc_html_parser 0.34.32/src/lib.rs
    5
    #![allow(clippy::nonminimal_bool)]
    6
    #![allow(clippy::wrong_self_convention)]
    7
    #![allow(clippy::match_like_matches_macro)]
  • swc_xml_parser 0.8.12/src/lib.rs
    5
    #![allow(clippy::nonminimal_bool)]
    6
    #![allow(clippy::wrong_self_convention)]
  • syn-serde 0.2.3/src/lib.rs
    94
    #![allow(clippy::used_underscore_binding, clippy::wildcard_imports)]
    95
    #![allow(clippy::wrong_self_convention)] // https://github.com/rust-lang/rust-clippy/issues/6983
    96
    #![cfg_attr(docsrs, feature(doc_cfg))]
  • tao 0.17.0/src/lib.rs
    144
      clippy::identity_op,
    145
      clippy::wrong_self_convention,
    146
      clippy::non_send_fields_in_send_ty
  • tbot 0.6.7/src/methods.rs
    46
    #![allow(clippy::wrong_self_convention)]
  • thiserror-core-impl 1.0.37/src/lib.rs
    12
        clippy::too_many_lines,
    13
        clippy::wrong_self_convention
    14
    )]
  • thiserror_core2-impl 2.0.0/src/lib.rs
    11
        clippy::too_many_lines,
    12
        clippy::wrong_self_convention
    13
    )]
  • thiserror-impl 1.0.38/src/lib.rs
    12
        clippy::too_many_lines,
    13
        clippy::wrong_self_convention
    14
    )]
  • thiserror-impl-no-std 2.0.2/src/lib.rs
    11
        clippy::too_many_lines,
    12
        clippy::wrong_self_convention
    13
    )]
  • tiny-skia 0.8.2/src/lib.rs
    26
    #![allow(clippy::too_many_arguments)]
    27
    #![allow(clippy::wrong_self_convention)]
  • tiny-skia-path 0.8.2/src/lib.rs
    27
    #![allow(clippy::upper_case_acronyms)]
    28
    #![allow(clippy::wrong_self_convention)]
  • tsify 0.4.3/src/lib.rs
    1
    #![allow(clippy::wrong_self_convention)]
  • tsxlib 0.1.3/src/timeseries.rs
    230
        pub fn into_ordered_iter(&self) -> OrderedTimeSeriesIter<TDate,T> {   #![allow(clippy::wrong_self_convention)]
    231
            OrderedTimeSeriesIter::new(&self, 0)
    259
        /// ```
    260
        pub fn into_iter(&self) -> TimeSeriesIter<TDate,T> {   #![allow(clippy::wrong_self_convention)]
    261
            TimeSeriesIter::new(&self, 0)
  • tune 0.32.0/src/tuning.rs
    3
    #![allow(clippy::wrong_self_convention)] // Would require a breaking change. Fix when appropriate.
  • UWUWUW 0.13.4/src/lib.rs
    78
    #![allow(clippy::new_without_default)]
    79
    #![allow(clippy::wrong_self_convention)]
    80
    #![allow(clippy::type_complexity)]
  • ux-animate 0.1.5/src/lib.rs
    10
        clippy::new_ret_no_self,
    11
        clippy::wrong_self_convention
    12
    )]
  • ux-dx 0.2.1/src/lib.rs
    47
        clippy::should_implement_trait,
    48
        clippy::wrong_self_convention,
    49
        clippy::manual_map,
  • vkcargo 0.45.1/src/cargo/lib.rs
    17
    #![allow(clippy::type_complexity)] // there's an exceptionally complex type
    18
    #![allow(clippy::wrong_self_convention)] // perhaps `Rc` should be special-cased in Clippy?
    19
    #![allow(clippy::write_with_newline)] // too pedantic
  • vulkano 0.32.3/src/lib.rs
    80
        clippy::vec_box,
    81
        clippy::wrong_self_convention
    82
    )]
  • watt 0.4.2/jit/src/lib.rs
    12
    #![allow(clippy::wrong_self_convention, clippy::useless_transmute)]
  • watt-non-static-runtime 0.4.0/jit/src/lib.rs
    12
    #![allow(clippy::wrong_self_convention, clippy::useless_transmute)]
  • web3 0.18.0/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • web3_etz 0.8.0/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • web3_fe 0.1.0/src/lib.rs
    4
        clippy::type_complexity,
    5
        clippy::wrong_self_convention,
    6
        clippy::single_match,
  • wry 0.26.0/src/lib.rs
    77
    #![allow(clippy::new_without_default)]
    78
    #![allow(clippy::wrong_self_convention)]
    79
    #![allow(clippy::type_complexity)]
  • xi-rope 0.3.0/src/lib.rs
    23
        clippy::should_implement_trait,
    24
        clippy::wrong_self_convention
    25
    )]
  • yarte_html 0.15.2/src/driver.rs
    11
    #![allow(clippy::wrong_self_convention)]
    12
    //! High-level interface to the parser.
  • yarte_html 0.15.2/src/tree_builder/mod.rs
    26
        clippy::unused_unit,
    27
        clippy::wrong_self_convention
    28
    )]