Files
api/docs/api-observable/classes/_classes_.rxproposal.md
T
2018-11-07 20:10:14 +00:00

8.2 KiB

Type parameters

S : ConstructorDef

T : object

V : object

E : object

Hierarchy

Struct

↳ RxProposal

Implements

  • Codec

Constructors

constructor

⊕ new RxProposal(value: Tuple): RxProposal

Overrides Struct.__constructor

Defined in classes.ts:9

Parameters:

Param Type
value Tuple

Returns: RxProposal


Properties

__@toStringTag

● __@toStringTag: "Map"

Inherited from Map.[Symbol.toStringTag]

Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:130


raw

● raw: Map<keyof S, Base>

Inherited from Struct.raw

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:26


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:126

Returns: E


address

getaddress(): AccountId

Defined in classes.ts:18

Returns: AccountId


encodedLength

getencodedLength(): number

Inherited from Struct.encodedLength

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130

Returns: number


id

getid(): PropIndex

Defined in classes.ts:22

Returns: PropIndex


proposal

getproposal(): Proposal

Defined in classes.ts:26

Returns: Proposal


Methods

__@iterator

▸ __@iterator(): IterableIterator<[keyof S, Base]>

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, Base]>


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:

Param Type
key keyof S

Returns: boolean


entries

▸ entries(): IterableIterator<[keyof S, Base]>

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, Base]>


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:

Param Type
callbackfn function
Optional thisArg any

Returns: void


get

▸ get(key: keyof S): Base | undefined

Inherited from Map.get

Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:25

Parameters:

Param Type
key keyof S

Returns: Base | undefined


getAtIndex

▸ getAtIndex(index: number): Base

Inherited from Struct.getAtIndex

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136

Parameters:

Param Type
index number

Returns: Base


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:

Param 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: Base): this

Inherited from Map.set

Defined in /home/travis/build/polkadot-js/api/node_modules/typescript/lib/lib.es2015.collection.d.ts:27

Parameters:

Param Type
key keyof S
value Base

Returns: this


toArray

▸ toArray(): Array<Base>

Inherited from Struct.toArray

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140

Returns: Array<Base>


toHex

▸ toHex(): string

Inherited from Struct.toHex

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:144

Returns: string


toJSON

▸ toJSON(): any

Inherited from Struct.toJSON

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148

Returns: any


toString

▸ toString(): string

Inherited from Struct.toString

Defined in /home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:159

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:163

Parameters:

Param Type
Optional isBare undefined | false | true

Returns: Uint8Array


values

▸ values(): IterableIterator<Base>

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<Base>


<Static> 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:116

Type parameters:

S : ConstructorDef

Parameters:

Param Type
Types S

Returns: Constructor<Struct<S>>