Struct gekko::runtime::kusama::extrinsics::proxy::RemoveAnnouncement [−][src]
pub struct RemoveAnnouncement<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub real: A,
pub call_hash: B,
}
Expand description
Remove a given announcement.
Documentation (provided by the runtime metadata)
Remove a given announcement.
May be called by a proxy account to remove a call they previously announced and return the deposit.
The dispatch origin for this call must be Signed.
Parameters:
real
: The account that the proxy will make a call on behalf of.call_hash
: The hash of the call to be made by thereal
account.
Weight is a function of:
- A: the number of announcements made.
- P: the number of proxies the user has.
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
real: A
Type description: T::AccountId
call_hash: B
Type description: CallHashOf<T>
Trait Implementations
impl<A: PartialEq, B: PartialEq> PartialEq<RemoveAnnouncement<A, B>> for RemoveAnnouncement<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A: PartialEq, B: PartialEq> PartialEq<RemoveAnnouncement<A, B>> for RemoveAnnouncement<A, B> where
A: Encode + Decode,
B: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A, B> StructuralEq for RemoveAnnouncement<A, B> where
A: Encode + Decode,
B: Encode + Decode,
impl<A, B> StructuralPartialEq for RemoveAnnouncement<A, B> where
A: Encode + Decode,
B: Encode + Decode,
Auto Trait Implementations
impl<A, B> RefUnwindSafe for RemoveAnnouncement<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for RemoveAnnouncement<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for RemoveAnnouncement<A, B> where
A: Sync,
B: Sync,
impl<A, B> Unpin for RemoveAnnouncement<A, B> where
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for RemoveAnnouncement<A, B> where
A: UnwindSafe,
B: 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
.