[−][src]Struct misskey::http::HttpClient
This is supported on crate feature
http-client
only.Asynchronous HTTP-based client for Misskey.
HttpClient
can be constructed using HttpClient::new
, HttpClient::with_token
or
HttpClientBuilder
.
Implementations
impl HttpClient
[src]
pub fn new(url: Url) -> Result<HttpClient, Error>
[src]
Creates a new HTTP-based client without a token.
pub fn with_token(
url: Url,
token: impl Into<String>
) -> Result<HttpClient, Error>
[src]
url: Url,
token: impl Into<String>
) -> Result<HttpClient, Error>
Creates a new HTTP-based client with a token.
pub fn builder<T>(url: T) -> HttpClientBuilder where
T: TryInto<Url>,
<T as TryInto<Url>>::Error: Into<Error>,
[src]
T: TryInto<Url>,
<T as TryInto<Url>>::Error: Into<Error>,
Creates a new builder instance with url
.
All configurations are set to default.
This function is identical to HttpClientBuilder::new
.
Trait Implementations
impl Client for HttpClient
[src]
type Error = Error
The error type produced by the client when an error occurs.
pub fn request<R>(
&self,
request: R
) -> Pin<Box<dyn Future<Output = Result<ApiResult<<R as Request>::Response>, Error>> + Send, Global>> where
R: Request,
[src]
&self,
request: R
) -> Pin<Box<dyn Future<Output = Result<ApiResult<<R as Request>::Response>, Error>> + Send, Global>> where
R: Request,
impl Debug for HttpClient
[src]
impl UploadFileClient for HttpClient
[src]
Auto Trait Implementations
impl !RefUnwindSafe for HttpClient
[src]
impl Send for HttpClient
[src]
impl Sync for HttpClient
[src]
impl Unpin for HttpClient
[src]
impl !UnwindSafe for HttpClient
[src]
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<C> ClientExt for C where
C: Sync + Client,
[src]
C: Sync + Client,
pub fn me(
&self
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn update_me(&self) -> MeUpdateBuilder<&Self>
[src]
pub fn follow(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn unfollow(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn mute(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unmute(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn block(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn unblock(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn followers(
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn following(
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn pin_note(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn unpin_note(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn follow_requests(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<FollowRequest, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<FollowRequest, Global>, Error<Self::Error>>> + Send, Global>>
pub fn cancel_follow_request(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn accept_follow_request(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn reject_follow_request(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn muting_users(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn blocking_users(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn favorited_notes(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn notifications(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Notification, Global>, Error<Self::Error>>, Content = Notification, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Notification, Global>, Error<Self::Error>>, Content = Notification, Client = Self> + Send, Global>>>
pub fn user_relation(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<UserRelation, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<UserRelation, Error<Self::Error>>> + Send, Global>>
pub fn is_following(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn is_followed(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn is_blocking(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn is_blocked(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn is_muted(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn has_pending_follow_request_from_me(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn has_pending_follow_request_to_me(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn get_user(
&self,
id: Id<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<User>
) -> Pin<Box<dyn Future<Output = Result<User, Error<Self::Error>>> + Send, Global>>
pub fn get_users(
&self,
ids: impl IntoIterator<Item = Id<User>>
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
ids: impl IntoIterator<Item = Id<User>>
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
pub fn report_abuse(
&self,
user: impl EntityRef<User>,
comment: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>,
comment: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn search_users(
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn users(&self) -> UserListBuilder<&Self>
[src]
pub fn recommended_users(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<User, Global>, Error<Self::Error>>, Content = User, Client = Self> + Send, Global>>>
pub fn frequently_replied_users(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
pub fn pinned_users(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<User, Global>, Error<Self::Error>>> + Send, Global>>
pub fn build_note(&self) -> NoteBuilder<&Self>
[src]
pub fn delete_note(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn get_note(
&self,
id: Id<Note>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<Note>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn create_note(
&self,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn poll(
&self,
text: impl Into<String>,
choices: impl IntoIterator<Item = impl Into<String>>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
text: impl Into<String>,
choices: impl IntoIterator<Item = impl Into<String>>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn reply(
&self,
note: impl EntityRef<Note>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn renote(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn quote(
&self,
note: impl EntityRef<Note>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Note, Error<Self::Error>>> + Send, Global>>
pub fn react(
&self,
note: impl EntityRef<Note>,
reaction: impl Into<Reaction>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>,
reaction: impl Into<Reaction>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unreact(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn favorite(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unfavorite(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn watch(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unwatch(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn is_favorited(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn is_watched(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<bool, Error<Self::Error>>> + Send, Global>>
pub fn vote(
&self,
note: impl EntityRef<Note>,
choice: u64
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>,
choice: u64
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn featured_notes(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn conversation(
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn children_notes(
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn mentioned_notes(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn renotes(
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn replies(
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
note: impl EntityRef<Note>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn search_notes(
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn local_notes(
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn local_notes_since(
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn local_notes_around(
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn global_notes(
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn global_notes_since(
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn global_notes_around(
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn social_notes(
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn social_notes_since(
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn social_notes_around(
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn home_notes(
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn home_notes_since(
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn home_notes_around(
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn user_notes(
&self,
user: impl EntityRef<User>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn user_notes_since(
&self,
user: impl EntityRef<User>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn user_notes_around(
&self,
user: impl EntityRef<User>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
user: impl EntityRef<User>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn user_list_notes(
&self,
list: impl EntityRef<UserList>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
list: impl EntityRef<UserList>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn user_list_notes_since(
&self,
list: impl EntityRef<UserList>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
list: impl EntityRef<UserList>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn user_list_notes_around(
&self,
list: impl EntityRef<UserList>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
list: impl EntityRef<UserList>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn channel_notes(
&self,
channel: impl EntityRef<Channel>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
channel: impl EntityRef<Channel>,
range: impl Into<TimelineRange<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn channel_notes_since(
&self,
channel: impl EntityRef<Channel>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
channel: impl EntityRef<Channel>,
since: impl Into<TimelineCursor<Note>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn channel_notes_around(
&self,
channel: impl EntityRef<Channel>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
[src]
&self,
channel: impl EntityRef<Channel>,
cursor: impl Into<TimelineCursor<Note>>
) -> (PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>, PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>)
pub fn tagged_notes(
&self,
query: impl Into<Query<Tag>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
query: impl Into<Query<Tag>>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn local_notes_with_file_types(
&self,
types: impl IntoIterator<Item = Mime>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
types: impl IntoIterator<Item = Mime>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn create_user_list(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
pub fn delete_user_list(
&self,
list: impl EntityRef<UserList>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
list: impl EntityRef<UserList>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn rename_user_list(
&self,
list: impl EntityRef<UserList>,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
[src]
&self,
list: impl EntityRef<UserList>,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
pub fn get_user_list(
&self,
id: Id<UserList>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<UserList>
) -> Pin<Box<dyn Future<Output = Result<UserList, Error<Self::Error>>> + Send, Global>>
pub fn push_to_user_list(
&self,
list: impl EntityRef<UserList>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
list: impl EntityRef<UserList>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn pull_from_user_list(
&self,
list: impl EntityRef<UserList>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
list: impl EntityRef<UserList>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn create_user_group(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
pub fn delete_user_group(
&self,
group: impl EntityRef<UserGroup>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
group: impl EntityRef<UserGroup>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn rename_user_group(
&self,
group: impl EntityRef<UserGroup>,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
[src]
&self,
group: impl EntityRef<UserGroup>,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
pub fn get_user_group(
&self,
id: Id<UserGroup>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<UserGroup>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
pub fn invite_to_user_group(
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn pull_from_user_group(
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn transfer_user_group(
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
[src]
&self,
group: impl EntityRef<UserGroup>,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<UserGroup, Error<Self::Error>>> + Send, Global>>
pub fn user_group_invitations(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<UserGroupInvitation, Global>, Error<Self::Error>>, Content = UserGroupInvitation, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<UserGroupInvitation, Global>, Error<Self::Error>>, Content = UserGroupInvitation, Client = Self> + Send, Global>>>
pub fn accept_user_group_invitation(
&self,
invitation: impl EntityRef<UserGroupInvitation>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
invitation: impl EntityRef<UserGroupInvitation>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn reject_user_group_invitation(
&self,
invitation: impl EntityRef<UserGroupInvitation>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
invitation: impl EntityRef<UserGroupInvitation>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn joined_user_groups(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<UserGroup, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<UserGroup, Global>, Error<Self::Error>>> + Send, Global>>
pub fn owned_user_groups(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<UserGroup, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<UserGroup, Global>, Error<Self::Error>>> + Send, Global>>
pub fn create_antenna(
&self,
name: impl Into<String>,
query: impl Into<Query<String>>
) -> Pin<Box<dyn Future<Output = Result<Antenna, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>,
query: impl Into<Query<String>>
) -> Pin<Box<dyn Future<Output = Result<Antenna, Error<Self::Error>>> + Send, Global>>
pub fn build_antenna(&self) -> AntennaBuilder<&Self>
[src]
pub fn delete_antenna(
&self,
antenna: impl EntityRef<Antenna>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
antenna: impl EntityRef<Antenna>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn get_antenna(
&self,
id: Id<Antenna>
) -> Pin<Box<dyn Future<Output = Result<Antenna, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<Antenna>
) -> Pin<Box<dyn Future<Output = Result<Antenna, Error<Self::Error>>> + Send, Global>>
pub fn update_antenna(&self, antenna: Antenna) -> AntennaUpdateBuilder<&Self>
[src]
pub fn antennas(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Antenna, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Antenna, Global>, Error<Self::Error>>> + Send, Global>>
pub fn antenna_notes(
&self,
antenna: impl EntityRef<Antenna>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
antenna: impl EntityRef<Antenna>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn create_channel(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Channel, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Channel, Error<Self::Error>>> + Send, Global>>
pub fn build_channel(&self) -> ChannelBuilder<&Self>
[src]
pub fn get_channel(
&self,
id: Id<Channel>
) -> Pin<Box<dyn Future<Output = Result<Channel, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<Channel>
) -> Pin<Box<dyn Future<Output = Result<Channel, Error<Self::Error>>> + Send, Global>>
pub fn update_channel(
&self,
channel: impl EntityRef<Channel>
) -> ChannelUpdateBuilder<&Self>
[src]
&self,
channel: impl EntityRef<Channel>
) -> ChannelUpdateBuilder<&Self>
pub fn follow_channel(
&self,
channel: impl EntityRef<Channel>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
channel: impl EntityRef<Channel>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unfollow_channel(
&self,
channel: impl EntityRef<Channel>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
channel: impl EntityRef<Channel>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn followed_channels(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Channel, Global>, Error<Self::Error>>, Content = Channel, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Channel, Global>, Error<Self::Error>>, Content = Channel, Client = Self> + Send, Global>>>
pub fn owned_channels(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Channel, Global>, Error<Self::Error>>, Content = Channel, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Channel, Global>, Error<Self::Error>>, Content = Channel, Client = Self> + Send, Global>>>
pub fn featured_channels(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Channel, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Channel, Global>, Error<Self::Error>>> + Send, Global>>
pub fn create_clip(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Clip, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Clip, Error<Self::Error>>> + Send, Global>>
pub fn build_clip(&self) -> ClipBuilder<&Self>
[src]
pub fn delete_clip(
&self,
clip: impl EntityRef<Clip>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
clip: impl EntityRef<Clip>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn clips(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Clip, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Clip, Global>, Error<Self::Error>>> + Send, Global>>
pub fn note_clips(
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<Vec<Clip, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<Vec<Clip, Global>, Error<Self::Error>>> + Send, Global>>
pub fn clip_note(
&self,
clip: impl EntityRef<Clip>,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
clip: impl EntityRef<Clip>,
note: impl EntityRef<Note>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn clip_notes(
&self,
clip: impl EntityRef<Clip>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
[src]
&self,
clip: impl EntityRef<Clip>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Note, Global>, Error<Self::Error>>, Content = Note, Client = Self> + Send, Global>>>
pub fn get_clip(
&self,
id: Id<Clip>
) -> Pin<Box<dyn Future<Output = Result<Clip, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<Clip>
) -> Pin<Box<dyn Future<Output = Result<Clip, Error<Self::Error>>> + Send, Global>>
pub fn update_clip(&self, clip: Clip) -> ClipUpdateBuilder<&Self>
[src]
pub fn user_clips(
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Clip, Global>, Error<Self::Error>>, Content = Clip, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Clip, Global>, Error<Self::Error>>, Content = Clip, Client = Self> + Send, Global>>>
pub fn create_message(
&self,
recipient: impl EntityRef<User>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<MessagingMessage, Error<Self::Error>>> + Send, Global>>
[src]
&self,
recipient: impl EntityRef<User>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<MessagingMessage, Error<Self::Error>>> + Send, Global>>
pub fn create_group_message(
&self,
recipient: impl EntityRef<UserGroup>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<MessagingMessage, Error<Self::Error>>> + Send, Global>>
[src]
&self,
recipient: impl EntityRef<UserGroup>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<MessagingMessage, Error<Self::Error>>> + Send, Global>>
pub fn build_message(&self) -> MessagingMessageBuilder<&Self>
[src]
pub fn delete_message(
&self,
message: impl EntityRef<MessagingMessage>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
message: impl EntityRef<MessagingMessage>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn read_message(
&self,
message: impl EntityRef<MessagingMessage>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
message: impl EntityRef<MessagingMessage>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn user_messages(
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>, Content = MessagingMessage, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>, Content = MessagingMessage, Client = Self> + Send, Global>>>
pub fn group_messages(
&self,
group: impl EntityRef<UserGroup>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>, Content = MessagingMessage, Client = Self> + Send, Global>>>
[src]
&self,
group: impl EntityRef<UserGroup>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>, Content = MessagingMessage, Client = Self> + Send, Global>>>
pub fn messaging_history(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<MessagingMessage, Global>, Error<Self::Error>>> + Send, Global>>
pub fn upload_file_from_url(
&self,
url: Url
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
url: Url
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn build_file_from_url(&self, url: Url) -> DriveFileUrlBuilder<&Self>
[src]
pub fn delete_file(
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn update_file(
&self,
file: impl EntityRef<DriveFile>
) -> DriveFileUpdateBuilder<&Self>
[src]
&self,
file: impl EntityRef<DriveFile>
) -> DriveFileUpdateBuilder<&Self>
pub fn get_file(
&self,
id: Id<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<DriveFile, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<DriveFile, Error<Self::Error>>> + Send, Global>>
pub fn create_folder(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
pub fn create_folder_with_parent(
&self,
name: impl Into<String>,
parent: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>,
parent: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
pub fn delete_folder(
&self,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn update_folder(
&self,
folder: impl EntityRef<DriveFolder>
) -> DriveFolderUpdateBuilder<&Self>
[src]
&self,
folder: impl EntityRef<DriveFolder>
) -> DriveFolderUpdateBuilder<&Self>
pub fn get_folder(
&self,
id: Id<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
[src]
&self,
id: Id<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<DriveFolder, Error<Self::Error>>> + Send, Global>>
pub fn attached_notes(
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<Vec<Note, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<Vec<Note, Global>, Error<Self::Error>>> + Send, Global>>
pub fn find_file_by_name(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFile, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFile, Global>, Error<Self::Error>>> + Send, Global>>
pub fn find_file_by_name_in_folder(
&self,
name: impl Into<String>,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFile, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFile, Global>, Error<Self::Error>>> + Send, Global>>
pub fn find_folder_by_name(
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFolder, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFolder, Global>, Error<Self::Error>>> + Send, Global>>
pub fn find_folder_by_name_in_folder(
&self,
name: impl Into<String>,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFolder, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
name: impl Into<String>,
folder: impl EntityRef<DriveFolder>
) -> Pin<Box<dyn Future<Output = Result<Vec<DriveFolder, Global>, Error<Self::Error>>> + Send, Global>>
pub fn files(&self) -> DriveFileListBuilder<&Self>
[src]
pub fn folders(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<DriveFolder, Global>, Error<Self::Error>>, Content = DriveFolder, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<DriveFolder, Global>, Error<Self::Error>>, Content = DriveFolder, Client = Self> + Send, Global>>>
pub fn folders_in_folder(
&self,
folder: impl EntityRef<DriveFolder>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<DriveFolder, Global>, Error<Self::Error>>, Content = DriveFolder, Client = Self> + Send, Global>>>
[src]
&self,
folder: impl EntityRef<DriveFolder>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<DriveFolder, Global>, Error<Self::Error>>, Content = DriveFolder, Client = Self> + Send, Global>>>
pub fn add_moderator(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn remove_moderator(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn promote_note(
&self,
note: impl EntityRef<Note>,
expires_at: DateTime<Utc>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
note: impl EntityRef<Note>,
expires_at: DateTime<Utc>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn abuse_user_reports(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<AbuseUserReport, Global>, Error<Self::Error>>, Content = AbuseUserReport, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<AbuseUserReport, Global>, Error<Self::Error>>, Content = AbuseUserReport, Client = Self> + Send, Global>>>
pub fn resolve_abuse_user_report(
&self,
report: impl EntityRef<AbuseUserReport>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
report: impl EntityRef<AbuseUserReport>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn server_logs(&self) -> ServerLogListBuilder<&Self>
[src]
pub fn moderation_logs(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<ModerationLog, Global>, Error<Self::Error>>, Content = ModerationLog, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<ModerationLog, Global>, Error<Self::Error>>, Content = ModerationLog, Client = Self> + Send, Global>>>
pub fn silence(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn suspend(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unsilence(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn unsuspend(
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
user: impl EntityRef<User>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn update_meta(&self) -> MetaUpdateBuilder<&Self>
[src]
pub fn create_announcement(
&self,
title: impl Into<String>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Announcement, Error<Self::Error>>> + Send, Global>>
[src]
&self,
title: impl Into<String>,
text: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<Announcement, Error<Self::Error>>> + Send, Global>>
pub fn create_announcement_with_image(
&self,
title: impl Into<String>,
text: impl Into<String>,
image_url: Url
) -> Pin<Box<dyn Future<Output = Result<Announcement, Error<Self::Error>>> + Send, Global>>
[src]
&self,
title: impl Into<String>,
text: impl Into<String>,
image_url: Url
) -> Pin<Box<dyn Future<Output = Result<Announcement, Error<Self::Error>>> + Send, Global>>
pub fn delete_announcement(
&self,
announcement: impl EntityRef<Announcement>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
announcement: impl EntityRef<Announcement>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn update_announcement(
&self,
announcement: Announcement
) -> AnnouncementUpdateBuilder<&Self>
[src]
&self,
announcement: Announcement
) -> AnnouncementUpdateBuilder<&Self>
pub fn create_emoji(
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<Id<Emoji>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
file: impl EntityRef<DriveFile>
) -> Pin<Box<dyn Future<Output = Result<Id<Emoji>, Error<Self::Error>>> + Send, Global>>
pub fn delete_emoji(
&self,
emoji: impl EntityRef<Emoji>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
emoji: impl EntityRef<Emoji>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn update_emoji(&self, emoji: Emoji) -> EmojiUpdateBuilder<&Self>
[src]
pub fn copy_emoji(
&self,
emoji: impl EntityRef<Emoji>
) -> Pin<Box<dyn Future<Output = Result<Id<Emoji>, Error<Self::Error>>> + Send, Global>>
[src]
&self,
emoji: impl EntityRef<Emoji>
) -> Pin<Box<dyn Future<Output = Result<Id<Emoji>, Error<Self::Error>>> + Send, Global>>
pub fn emojis(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Emoji, Global>, Error<Self::Error>>, Content = Emoji, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Emoji, Global>, Error<Self::Error>>, Content = Emoji, Client = Self> + Send, Global>>>
pub fn search_emojis(
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Emoji, Global>, Error<Self::Error>>, Content = Emoji, Client = Self> + Send, Global>>>
[src]
&self,
query: impl Into<String>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Emoji, Global>, Error<Self::Error>>, Content = Emoji, Client = Self> + Send, Global>>>
pub fn meta(
&self
) -> Pin<Box<dyn Future<Output = Result<Meta, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Meta, Error<Self::Error>>> + Send, Global>>
pub fn announcements(
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Announcement, Global>, Error<Self::Error>>, Content = Announcement, Client = Self> + Send, Global>>>
[src]
&self
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Announcement, Global>, Error<Self::Error>>, Content = Announcement, Client = Self> + Send, Global>>>
pub fn featured_pages(
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Page, Global>, Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<Vec<Page, Global>, Error<Self::Error>>> + Send, Global>>
pub fn user_pages(
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Page, Global>, Error<Self::Error>>, Content = Page, Client = Self> + Send, Global>>>
[src]
&self,
user: impl EntityRef<User>
) -> PagerStream<Pin<Box<dyn Pager<Item = Result<Vec<Page, Global>, Error<Self::Error>>, Content = Page, Client = Self> + Send, Global>>>
pub fn mark_all_notifications_as_read(
&self
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn create_notification(
&self,
body: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
[src]
&self,
body: impl Into<String>
) -> Pin<Box<dyn Future<Output = Result<(), Error<Self::Error>>> + Send, Global>>
pub fn build_notification(&self) -> NotificationBuilder<&Self>
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<C> UploadFileClientExt for C where
C: Sync + UploadFileClient,
[src]
C: Sync + UploadFileClient,
pub fn upload_file(
&self,
path: impl AsRef<Path>
) -> Pin<Box<dyn Future<Output = Result<DriveFile, Error<Self::Error>>> + Send, Global>>
[src]
&self,
path: impl AsRef<Path>
) -> Pin<Box<dyn Future<Output = Result<DriveFile, Error<Self::Error>>> + Send, Global>>
pub fn build_file(&self, path: impl AsRef<Path>) -> DriveFileBuilder<&Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,