[][src]Struct misskey::builder::ClipBuilder

pub struct ClipBuilder<C> { /* fields omitted */ }

Builder for the build_clip method.

Implementations

impl<C> ClipBuilder<C>[src]

pub fn new(client: C) -> ClipBuilder<C>[src]

Creates a builder with the client.

pub fn as_request(&self) -> &Request[src]

Gets the request object for reuse.

pub fn name(&mut self, name: impl Into<String>) -> &mut ClipBuilder<C>[src]

Sets the name of the clip.

pub fn public(&mut self, public: bool) -> &mut ClipBuilder<C>[src]

Sets whether the clip is public or not.

pub fn description(
    &mut self,
    description: impl Into<String>
) -> &mut ClipBuilder<C>
[src]

Sets the description of the clip.

impl<C> ClipBuilder<C> where
    C: Client
[src]

pub async fn create(&'_ self) -> Result<Clip, Error<<C as Client>::Error>>[src]

Creates the clip.

Auto Trait Implementations

impl<C> RefUnwindSafe for ClipBuilder<C> where
    C: RefUnwindSafe
[src]

impl<C> Send for ClipBuilder<C> where
    C: Send
[src]

impl<C> Sync for ClipBuilder<C> where
    C: Sync
[src]

impl<C> Unpin for ClipBuilder<C> where
    C: Unpin
[src]

impl<C> UnwindSafe for ClipBuilder<C> where
    C: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]