pub struct UpdateCurrentMember<'a> { /* private fields */ }Expand description
Update the user’s member in a guild.
Implementations§
Source§impl<'a> UpdateCurrentMember<'a>
impl<'a> UpdateCurrentMember<'a>
Set the current member’s banner.
Set to None to clear the banner.
Uses the Image Data URI Scheme for image data.
Trait Implementations§
Source§impl<'a> AuditLogReason<'a> for UpdateCurrentMember<'a>
impl<'a> AuditLogReason<'a> for UpdateCurrentMember<'a>
Source§impl IntoFuture for UpdateCurrentMember<'_>
impl IntoFuture for UpdateCurrentMember<'_>
Source§type Output = Result<Response<EmptyBody>, Error>
type Output = Result<Response<EmptyBody>, Error>
The output that the future will produce on completion.
Source§type IntoFuture = ResponseFuture<EmptyBody>
type IntoFuture = ResponseFuture<EmptyBody>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl TryIntoRequest for UpdateCurrentMember<'_>
impl TryIntoRequest for UpdateCurrentMember<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UpdateCurrentMember<'a>
impl<'a> !UnwindSafe for UpdateCurrentMember<'a>
impl<'a> Forget for UpdateCurrentMember<'a>
impl<'a> Freeze for UpdateCurrentMember<'a>
impl<'a> Move for UpdateCurrentMember<'a>
impl<'a> Send for UpdateCurrentMember<'a>
impl<'a> Sync for UpdateCurrentMember<'a>where
RawVecInner: Sync,
NonZero<i32>: Sync,
NonZero<u64>: Sync,
BoxRaw<[Pos]>: Sync,
Bytes: Sync,
Arc<Config>: Sync,
Arc<Resolver<GenericConnector<TokioRuntimeProvider>>>: Sync,
Arc<ClientConfig>: Sync,
Arc<dyn ResolveServerName + Send + Sync>: Sync,
Arc<dyn Executor<Pin<Box<dyn Future<Output = ()> + Send>>> + Send + Sync>: Sync,
Arc<dyn Timer + Send + Sync>: Sync,
Arc<Mutex<PoolInner<PoolClient<Full<Bytes>>, (Scheme, Authority)>>>: Sync,
BoxRaw<str>: Sync,
Arc<Chan<(Message, Option<Box<dyn FnOnce(Option<Bucket>) -> bool + Send>>), Semaphore>>: Sync,
Arc<Atomic<bool>>: Sync,
impl<'a> Unpin for UpdateCurrentMember<'a>
impl<'a> UnsafeUnpin for UpdateCurrentMember<'a>where
&'a str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<fn(GuildMarker) -> GuildMarker>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
&'a Client: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more