pub struct RequestBuilder<TypedBuilderFields> { /* private fields */ }Expand description
Builder for Request instances.
See Request::builder() for more info.
Implementations§
Source§impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<((), __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
impl<__with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<((), __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, (), __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
impl<__list_id, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, (), __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
pub fn with_files( self, with_files: bool, ) -> RequestBuilder<(__list_id, (Option<bool>,), __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, (), __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
impl<__list_id, __with_files, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, (), __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
pub fn include_my_renotes( self, include_my_renotes: bool, ) -> RequestBuilder<(__list_id, __with_files, (Option<bool>,), __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, (), __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, (), __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
pub fn include_renoted_my_notes( self, include_renoted_my_notes: bool, ) -> RequestBuilder<(__list_id, __with_files, __include_my_renotes, (Option<bool>,), __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, (), __limit, __since_id, __until_id, __since_date, __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __limit, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, (), __limit, __since_id, __until_id, __since_date, __until_date)>
pub fn include_local_renotes( self, include_local_renotes: bool, ) -> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, (Option<bool>,), __limit, __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, (), __since_id, __until_id, __since_date, __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __since_id, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, (), __since_id, __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, (), __until_id, __since_date, __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __until_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, (), __until_id, __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, (), __since_date, __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __since_date, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, (), __since_date, __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, (), __until_date)>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __until_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, (), __until_date)>
pub fn since_date( self, since_date: impl Into<DateTime<Utc>>, ) -> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, (Option<DateTime<Utc>>,), __until_date)>
Source§impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, ())>
impl<__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, ())>
pub fn until_date( self, until_date: impl Into<DateTime<Utc>>, ) -> RequestBuilder<(__list_id, __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, (Option<DateTime<Utc>>,))>
Source§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<((Id<UserList>,), __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
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<((Id<UserList>,), __with_files, __include_my_renotes, __include_renoted_my_notes, __include_local_renotes, __limit, __since_id, __until_id, __since_date, __until_date)>
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for RequestBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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