# 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:11](https://github.com/polkadot-js/api/blob/8919ae2/packages/api-observable/src/classes.ts#L11)* **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:142](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L142)* *__description__*: Returns the Type description to sthe structure **Returns:** `E` ___ ## address getaddress(): `AccountId` *Defined in [classes.ts:20](https://github.com/polkadot-js/api/blob/8919ae2/packages/api-observable/src/classes.ts#L20)* **Returns:** `AccountId` ___ ## encodedLength getencodedLength(): `number` *Inherited from Struct.encodedLength* *Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L149)* *__description__*: The length of the value when encoded as a Uint8Array **Returns:** `number` ___ ## id getid(): `PropIndex` *Defined in [classes.ts:24](https://github.com/polkadot-js/api/blob/8919ae2/packages/api-observable/src/classes.ts#L24)* **Returns:** `PropIndex` ___ ## proposal getproposal(): `Proposal` *Defined in [classes.ts:28](https://github.com/polkadot-js/api/blob/8919ae2/packages/api-observable/src/classes.ts#L28)* **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:159](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L159)* *__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:166](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L166)* *__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:173](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L173)* *__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:180](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L180)* *__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:187](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L187)* *__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:201](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L201)* *__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:209](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L209)* *__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:122](https://github.com/polkadot-js/api/blob/8919ae2/packages/types/src/codec/Struct.ts#L122)* **Type parameters:** #### S : `ConstructorDef` **Parameters:** | Name | Type | | ------ | ------ | | Types | `S` | **Returns:** `Constructor`<`Struct`<`S`>> ___