[−][src]Struct misskey_util::builder::EmojiUpdateBuilder
Builder for the update_emoji
method.
Implementations
impl<C> EmojiUpdateBuilder<C>
[src]
pub fn new(client: C, emoji: Emoji) -> Self
[src]
This is supported on crate feature
12-9-0
only.Creates a builder with the client and the emoji you are going to update.
pub fn as_request(&self) -> &Request
[src]
Gets the request object for reuse.
pub fn name(&mut self, name: impl Into<String>) -> &mut Self
[src]
Sets the name of the custom emoji.
pub fn set_category(&mut self, category: impl Into<String>) -> &mut Self
[src]
Sets the category of the custom emoji.
pub fn delete_category(&mut self) -> &mut Self
[src]
Deletes the category of the custom emoji.
pub fn aliases(
&mut self,
aliases: impl IntoIterator<Item = impl Into<String>>
) -> &mut Self
[src]
&mut self,
aliases: impl IntoIterator<Item = impl Into<String>>
) -> &mut Self
Sets the aliases of the custom emoji.
pub fn add_aliases(
&mut self,
aliases: impl IntoIterator<Item = impl Into<String>>
) -> &mut Self
[src]
&mut self,
aliases: impl IntoIterator<Item = impl Into<String>>
) -> &mut Self
Adds the given aliases to the custom emoji.
pub fn add_alias(&mut self, alias: impl Into<String>) -> &mut Self
[src]
Adds the given alias to the custom emoji.
impl<C: Client> EmojiUpdateBuilder<C>
[src]
Auto Trait Implementations
impl<C> RefUnwindSafe for EmojiUpdateBuilder<C> where
C: RefUnwindSafe,
[src]
C: RefUnwindSafe,
impl<C> Send for EmojiUpdateBuilder<C> where
C: Send,
[src]
C: Send,
impl<C> Sync for EmojiUpdateBuilder<C> where
C: Sync,
[src]
C: Sync,
impl<C> Unpin for EmojiUpdateBuilder<C> where
C: Unpin,
[src]
C: Unpin,
impl<C> UnwindSafe for EmojiUpdateBuilder<C> where
C: UnwindSafe,
[src]
C: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,