[−][src]Struct misskey_api::endpoint::i::notifications::RequestBuilder
Builder for Request
instances.
See Request::builder()
for more info.
Implementations
impl<__since_id, __until_id, __following, __mark_as_read, __include_types, __exclude_types> RequestBuilder<((), __since_id, __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
[src]
pub fn limit(
self,
limit: u8
) -> RequestBuilder<((Option<u8>,), __since_id, __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
[src]
self,
limit: u8
) -> RequestBuilder<((Option<u8>,), __since_id, __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
impl<__limit, __until_id, __following, __mark_as_read, __include_types, __exclude_types> RequestBuilder<(__limit, (), __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
[src]
pub fn since_id(
self,
since_id: Id<Notification>
) -> RequestBuilder<(__limit, (Option<Id<Notification>>,), __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
[src]
self,
since_id: Id<Notification>
) -> RequestBuilder<(__limit, (Option<Id<Notification>>,), __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
impl<__limit, __since_id, __following, __mark_as_read, __include_types, __exclude_types> RequestBuilder<(__limit, __since_id, (), __following, __mark_as_read, __include_types, __exclude_types)>
[src]
pub fn until_id(
self,
until_id: Id<Notification>
) -> RequestBuilder<(__limit, __since_id, (Option<Id<Notification>>,), __following, __mark_as_read, __include_types, __exclude_types)>
[src]
self,
until_id: Id<Notification>
) -> RequestBuilder<(__limit, __since_id, (Option<Id<Notification>>,), __following, __mark_as_read, __include_types, __exclude_types)>
impl<__limit, __since_id, __until_id, __mark_as_read, __include_types, __exclude_types> RequestBuilder<(__limit, __since_id, __until_id, (), __mark_as_read, __include_types, __exclude_types)>
[src]
pub fn following(
self,
following: bool
) -> RequestBuilder<(__limit, __since_id, __until_id, (Option<bool>,), __mark_as_read, __include_types, __exclude_types)>
[src]
self,
following: bool
) -> RequestBuilder<(__limit, __since_id, __until_id, (Option<bool>,), __mark_as_read, __include_types, __exclude_types)>
impl<__limit, __since_id, __until_id, __following, __include_types, __exclude_types> RequestBuilder<(__limit, __since_id, __until_id, __following, (), __include_types, __exclude_types)>
[src]
pub fn mark_as_read(
self,
mark_as_read: bool
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, (Option<bool>,), __include_types, __exclude_types)>
[src]
self,
mark_as_read: bool
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, (Option<bool>,), __include_types, __exclude_types)>
impl<__limit, __since_id, __until_id, __following, __mark_as_read, __exclude_types> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, (), __exclude_types)>
[src]
pub fn include_types(
self,
include_types: HashSet<NotificationType>
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, (Option<HashSet<NotificationType>>,), __exclude_types)>
[src]
self,
include_types: HashSet<NotificationType>
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, (Option<HashSet<NotificationType>>,), __exclude_types)>
impl<__limit, __since_id, __until_id, __following, __mark_as_read, __include_types> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, __include_types, ())>
[src]
pub fn exclude_types(
self,
exclude_types: HashSet<NotificationType>
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, __include_types, (Option<HashSet<NotificationType>>,))>
[src]
self,
exclude_types: HashSet<NotificationType>
) -> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, __include_types, (Option<HashSet<NotificationType>>,))>
impl<__limit: RequestBuilder_Optional<Option<u8>>, __since_id: RequestBuilder_Optional<Option<Id<Notification>>>, __until_id: RequestBuilder_Optional<Option<Id<Notification>>>, __following: RequestBuilder_Optional<Option<bool>>, __mark_as_read: RequestBuilder_Optional<Option<bool>>, __include_types: RequestBuilder_Optional<Option<HashSet<NotificationType>>>, __exclude_types: RequestBuilder_Optional<Option<HashSet<NotificationType>>>> RequestBuilder<(__limit, __since_id, __until_id, __following, __mark_as_read, __include_types, __exclude_types)>
[src]
Auto Trait Implementations
impl<TypedBuilderFields> RefUnwindSafe for RequestBuilder<TypedBuilderFields> where
TypedBuilderFields: RefUnwindSafe,
[src]
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for RequestBuilder<TypedBuilderFields> where
TypedBuilderFields: Send,
[src]
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for RequestBuilder<TypedBuilderFields> where
TypedBuilderFields: Sync,
[src]
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for RequestBuilder<TypedBuilderFields> where
TypedBuilderFields: Unpin,
[src]
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for RequestBuilder<TypedBuilderFields> where
TypedBuilderFields: UnwindSafe,
[src]
TypedBuilderFields: 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>,