Struct gekko::runtime::kusama::extrinsics::vesting::ForceVestedTransfer [−][src]
pub struct ForceVestedTransfer<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode, {
pub source: A,
pub target: B,
pub schedule: C,
}
Expand description
Force a vested transfer.
Documentation (provided by the runtime metadata)
Force a vested transfer.
The dispatch origin for this call must be Root.
source
: The account whose funds should be transferred.target
: The account that should be transferred the vested funds.amount
: The amount of funds to transfer and will be vested.schedule
: The vesting schedule attached to the transfer.
Emits VestingCreated
.
O(1)
.- DbWeight: 4 Reads, 4 Writes
- Reads: Vesting Storage, Balances Locks, Target Account, Source Account
- Writes: Vesting Storage, Balances Locks, Target Account, Source Account
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
source: A
Type description: <T::Lookup as StaticLookup>::Source
target: B
Type description: <T::Lookup as StaticLookup>::Source
schedule: C
Type description: VestingInfo<BalanceOf<T>, T::BlockNumber>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A: Eq, B: Eq, C: Eq> Eq for ForceVestedTransfer<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralEq for ForceVestedTransfer<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
impl<A, B, C> StructuralPartialEq for ForceVestedTransfer<A, B, C> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for ForceVestedTransfer<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> Send for ForceVestedTransfer<A, B, C> where
A: Send,
B: Send,
C: Send,
impl<A, B, C> Sync for ForceVestedTransfer<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
impl<A, B, C> Unpin for ForceVestedTransfer<A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
impl<A, B, C> UnwindSafe for ForceVestedTransfer<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.