[][src]Struct misskey_api::endpoint::notes::Request

pub struct Request {
    pub local: Option<bool>,
    pub reply: Option<bool>,
    pub renote: Option<bool>,
    pub with_files: Option<bool>,
    pub poll: Option<bool>,
    pub limit: Option<u8>,
    pub since_id: Option<NoteId>,
    pub until_id: Option<NoteId>,
}

Fields

local: Option<bool>reply: Option<bool>renote: Option<bool>with_files: Option<bool>poll: Option<bool>limit: Option<u8>

1 .. 100

since_id: Option<NoteId>until_id: Option<NoteId>

Implementations

impl Request[src]

pub fn builder() -> RequestBuilder<((), (), (), (), (), (), (), ())>[src]

Create a builder for building Request. On the builder, call .local(...)(optional), .reply(...)(optional), .renote(...)(optional), .with_files(...)(optional), .poll(...)(optional), .limit(...)(optional), .since_id(...)(optional), .until_id(...)(optional) to set the values of the fields (they accept Into values). Finally, call .build() to create the instance of Request.

Trait Implementations

impl Clone for Request[src]

impl Debug for Request[src]

impl Default for Request[src]

impl Request for Request[src]

type Response = Vec<Note>

Response type of this request.

impl Serialize for Request[src]

Auto Trait Implementations

impl RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,