[][src]Struct misskey_api::endpoint::notes::timeline::RequestBuilder

#[must_use]pub struct RequestBuilder<TypedBuilderFields> { /* fields omitted */ }

Builder for Request instances.

See Request::builder() for more info.

Implementations

impl<__include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<((), __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>[src]

pub fn with_files(
    self,
    with_files: bool
) -> RequestBuilder<((Option<bool>,), __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__with_files, (), __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>[src]

pub fn include_my_renotes(
    self,
    include_my_renotes: bool
) -> RequestBuilder<(__with_files, (Option<bool>,), __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__with_files, __include_my_renotes, (), __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>[src]

pub fn include_renoted_my_notes(
    self,
    include_renoted_my_notes: bool
) -> RequestBuilder<(__with_files, __include_my_renotes, (Option<bool>,), __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, (), __limit, __since_id, __until_id, __since_date, __until_date)>[src]

pub fn include_local_renotes(
    self,
    include_local_renotes: bool
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, (Option<bool>,), __limit, __since_id, __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, (), __since_id, __until_id, __since_date, __until_date)>[src]

pub fn limit(
    self,
    limit: u8
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, (Option<u8>,), __since_id, __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __until_id, __since_date, __until_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, (), __until_id, __since_date, __until_date)>[src]

pub fn since_id(
    self,
    since_id: Id<Note>
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, (Option<Id<Note>>,), __until_id, __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __since_date, __until_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, (), __since_date, __until_date)>[src]

pub fn until_id(
    self,
    until_id: Id<Note>
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, (Option<Id<Note>>,), __since_date, __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __until_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, (), __until_date)>[src]

pub fn since_date(
    self,
    since_date: impl Into<DateTime<Utc>>
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, (Option<DateTime<Utc>>,), __until_date)>
[src]

impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, ())>[src]

pub fn until_date(
    self,
    until_date: impl Into<DateTime<Utc>>
) -> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, (Option<DateTime<Utc>>,))>
[src]

impl<__with_files: RequestBuilder_Optional<Option<bool>>, __include_my_renotes: RequestBuilder_Optional<Option<bool>>, __include_renoted_my_notes: RequestBuilder_Optional<Option<bool>>, __include_local_renotes: RequestBuilder_Optional<Option<bool>>, __limit: RequestBuilder_Optional<Option<u8>>, __since_id: RequestBuilder_Optional<Option<Id<Note>>>, __until_id: RequestBuilder_Optional<Option<Id<Note>>>, __since_date: RequestBuilder_Optional<Option<DateTime<Utc>>>, __until_date: RequestBuilder_Optional<Option<DateTime<Utc>>>> RequestBuilder<(__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>[src]

pub fn build(self) -> Request[src]

Finalise the builder and create its Request instance

Auto Trait Implementations

impl<TypedBuilderFields> RefUnwindSafe for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: RefUnwindSafe
[src]

impl<TypedBuilderFields> Send for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Send
[src]

impl<TypedBuilderFields> Sync for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Sync
[src]

impl<TypedBuilderFields> Unpin for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: Unpin
[src]

impl<TypedBuilderFields> UnwindSafe for RequestBuilder<TypedBuilderFields> where
    TypedBuilderFields: 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, U> Into<U> for T where
    U: From<T>, 
[src]

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.