[][src]Trait misskey::endpoint::Request

pub trait Request: Serialize {
    type Response: DeserializeOwned;

    pub const ENDPOINT: &'static str;
}

API request.

Request type is Serialize with associated response type Response and endpoint name ENDPOINT.

Associated Types

type Response: DeserializeOwned[src]

Response type of this request.

Loading content...

Associated Constants

pub const ENDPOINT: &'static str[src]

The name of the corresponding endpoint.

Loading content...

Implementations on Foreign Types

impl Request for Request[src]

type Response = Vec<Channel, Global>

impl Request for Request[src]

type Response = DriveFolder

impl Request for Request[src]

type Response = HashMap<String, Stat, RandomState>

impl Request for Request[src]

type Response = Vec<Muting, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Clip

impl Request for Request[src]

type Response = Note

impl Request for Request[src]

type Response = DriveFile

impl Request for Request[src]

type Response = Vec<UserList, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Meta

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<NoteFavorite, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Clip

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = UserList

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for RequestWithUserId[src]

impl Request for Request[src]

type Response = UserList

impl Request for Request[src]

type Response = Vec<String, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Clip, Global>

impl Request for Request[src]

type Response = Vec<Emoji, Global>

impl Request for Request[src]

type Response = Vec<MessagingMessage, Global>

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for RequestWithUsername[src]

impl Request for Request[src]

type Response = DriveFolder

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = DriveFile

impl Request for Request[src]

type Response = UserGroup

impl Request for Request[src]

type Response = Clip

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Announcement

impl Request for Request[src]

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = Channel

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<FollowRequest, Global>

impl Request for Request[src]

type Response = DriveChart

impl Request for Request[src]

type Response = Antenna

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = Vec<DriveFile, Global>

impl Request for Request[src]

type Response = Channel

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<DriveFolder, Global>

impl Request for Request[src]

type Response = bool

impl Request for Request[src]

type Response = UserRelation

impl Request for Request[src]

type Response = Antenna

impl Request for Request[src]

type Response = NotesChart

impl Request for Request[src]

type Response = Vec<Notification, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<UserGroup, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = Vec<Blocking, Global>

impl Request for Request[src]

type Response = Vec<UserGroup, Global>

impl Request for Request[src]

type Response = Vec<Page, Global>

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = UserStats

impl Request for Request[src]

type Response = ()

impl Request for RequestWithUsername[src]

impl Request for Request[src]

type Response = Vec<Antenna, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = DriveFolder

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Clip, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = UserList

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<DriveFile, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<NoteReaction, Global>

impl Request for Request[src]

type Response = Vec<Page, Global>

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<AbuseUserReport, Global>

impl Request for RequestWithUserIds[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Log, Global>

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

This type is DriveFile on non-feature="12-48-0".

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Vec<DriveFolder, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Channel, Global>

impl Request for RequestWithUserIds[src]

type Response = Vec<UserRelation, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Channel, Global>

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Vec<DriveFile, Global>

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Clip, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<DriveFile, Global>

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = UserGroup

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<ModerationLog, Global>

impl Request for Request[src]

type Response = Antenna

impl Request for Request[src]

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = UserGroup

impl Request for RequestWithUserId[src]

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = UserGroup

impl Request for Request[src]

type Response = MessagingMessage

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = Vec<Emoji, Global>

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<User, Global>

impl Request for Request[src]

type Response = Channel

impl Request for Request[src]

type Response = Vec<MessagingMessage, Global>

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = DriveFile

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Vec<Note, Global>

impl Request for Request[src]

type Response = Vec<Reply, Global>

impl Request for Request[src]

type Response = User

impl Request for Request[src]

type Response = ()

impl Request for Request[src]

type Response = Response

impl Request for Request[src]

type Response = NetworkChart

impl Request for Request[src]

type Response = ()

impl<'_, R> Request for &'_ R where
    R: Request + ?Sized
[src]

type Response = <R as Request>::Response

impl<'_, R> Request for &'_ mut R where
    R: Request + ?Sized
[src]

type Response = <R as Request>::Response

impl<R> Request for Box<R, Global> where
    R: Request + ?Sized
[src]

type Response = <R as Request>::Response

Loading content...

Implementors

Loading content...