# Type parameters #### S : `ConstructorDef` #### T : `object` #### V : `object` #### E : `object` # Hierarchy `Struct` **↳ RxProposal** # Implements * `Codec` # Constructors ## constructor ⊕ **new RxProposal**(value: *`Tuple`*): [RxProposal](_classes_.rxproposal.md) *Overrides Struct.__constructor* *Defined in [classes.ts:12](https://github.com/polkadot-js/api/blob/7be8d82/packages/api-observable/src/classes.ts#L12)* **Parameters:** | Name | Type | | ------ | ------ | | value | `Tuple` | **Returns:** [RxProposal](_classes_.rxproposal.md) ___ # Properties ## __@toStringTag **● __@toStringTag**: *`string`* *Inherited from Map.[Symbol.toStringTag]* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:130* ___ ## size **● size**: *`number`* *Inherited from Map.size* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:28* ___ # Accessors ## Type getType(): `E` *Inherited from Struct.Type* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)* *__description__*: Returns the Type description to sthe structure **Returns:** `E` ___ ## address getaddress(): `AccountId` *Defined in [classes.ts:21](https://github.com/polkadot-js/api/blob/7be8d82/packages/api-observable/src/classes.ts#L21)* **Returns:** `AccountId` ___ ## encodedLength getencodedLength(): `number` *Inherited from Struct.encodedLength* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)* *__description__*: The length of the value when encoded as a Uint8Array **Returns:** `number` ___ ## id getid(): `PropIndex` *Defined in [classes.ts:25](https://github.com/polkadot-js/api/blob/7be8d82/packages/api-observable/src/classes.ts#L25)* **Returns:** `PropIndex` ___ ## proposal getproposal(): `Proposal` *Defined in [classes.ts:29](https://github.com/polkadot-js/api/blob/7be8d82/packages/api-observable/src/classes.ts#L29)* **Returns:** `Proposal` ___ # Methods ## __@iterator ▸ **__@iterator**(): `IterableIterator`<[`keyof S`, `Codec`]> *Inherited from Map.[Symbol.iterator]* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:113* Returns an iterable of entries in the map. **Returns:** `IterableIterator`<[`keyof S`, `Codec`]> ___ ## clear ▸ **clear**(): `void` *Inherited from Map.clear* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:22* **Returns:** `void` ___ ## delete ▸ **delete**(key: *`keyof S`*): `boolean` *Inherited from Map.delete* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:23* **Parameters:** | Name | Type | | ------ | ------ | | key | `keyof S` | **Returns:** `boolean` ___ ## entries ▸ **entries**(): `IterableIterator`<[`keyof S`, `Codec`]> *Inherited from Map.entries* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:118* Returns an iterable of key, value pairs for every entry in the map. **Returns:** `IterableIterator`<[`keyof S`, `Codec`]> ___ ## forEach ▸ **forEach**(callbackfn: *`function`*, thisArg?: *`any`*): `void` *Inherited from Map.forEach* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:24* **Parameters:** | Name | Type | | ------ | ------ | | callbackfn | `function` | | `Optional` thisArg | `any` | **Returns:** `void` ___ ## get ▸ **get**(name: *`keyof S`*): `Codec` | `undefined` *Inherited from Struct.get* *Overrides Map.get* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)* *__description__*: Returns a specific names entry in the structure **Parameters:** | Name | Type | Description | | ------ | ------ | ------ | | name | `keyof S` | The name of the entry to retrieve | **Returns:** `Codec` | `undefined` ___ ## getAtIndex ▸ **getAtIndex**(index: *`number`*): `Codec` *Inherited from Struct.getAtIndex* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)* *__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance) **Parameters:** | Name | Type | | ------ | ------ | | index | `number` | **Returns:** `Codec` ___ ## has ▸ **has**(key: *`keyof S`*): `boolean` *Inherited from Map.has* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:26* **Parameters:** | Name | Type | | ------ | ------ | | key | `keyof S` | **Returns:** `boolean` ___ ## keys ▸ **keys**(): `IterableIterator`<`keyof S`> *Inherited from Map.keys* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:123* Returns an iterable of keys in the map **Returns:** `IterableIterator`<`keyof S`> ___ ## set ▸ **set**(key: *`keyof S`*, value: *`Codec`*): `this` *Inherited from Map.set* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:27* **Parameters:** | Name | Type | | ------ | ------ | | key | `keyof S` | | value | `Codec` | **Returns:** `this` ___ ## toArray ▸ **toArray**(): `Array`<`Codec`> *Inherited from Struct.toArray* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)* *__description__*: Converts the Object to an standard JavaScript Array **Returns:** `Array`<`Codec`> ___ ## toHex ▸ **toHex**(): `string` *Inherited from Struct.toHex* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)* *__description__*: Returns a hex string representation of the value **Returns:** `string` ___ ## toJSON ▸ **toJSON**(): `any` *Inherited from Struct.toJSON* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)* *__description__*: Converts the Object to JSON, typically used for RPC transfers **Returns:** `any` ___ ## toString ▸ **toString**(): `string` *Inherited from Struct.toString* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)* *__description__*: Returns the string representation of the value **Returns:** `string` ___ ## toU8a ▸ **toU8a**(isBare?: * `undefined` | `false` | `true`*): `Uint8Array` *Inherited from Struct.toU8a* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)* *__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications **Parameters:** | Name | Type | Description | | ------ | ------ | ------ | | `Optional` isBare | `undefined` | `false` | `true`| true when the value has none of the type-specific prefixes (internal) | **Returns:** `Uint8Array` ___ ## values ▸ **values**(): `IterableIterator`<`Codec`> *Inherited from Map.values* *Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.iterable.d.ts:128* Returns an iterable of values in the map **Returns:** `IterableIterator`<`Codec`> ___ ## `` with ▸ **with**<`S`>(Types: *`S`*): `Constructor`<`Struct`<`S`>> *Inherited from Struct.with* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)* **Type parameters:** #### S : `ConstructorDef` **Parameters:** | Name | Type | | ------ | ------ | | Types | `S` | **Returns:** `Constructor`<`Struct`<`S`>> ___