[−][src]Struct misskey_api::endpoint::notes::search_by_tag::Request
Fields
tag: Option<Tag>
query: Option<Query<Tag>>
reply: Option<bool>
renote: Option<bool>
poll: Option<bool>
with_files: Option<bool>
limit: Option<u8>
1 .. 100 (1 .. 30 in ~12.19.0)
since_id: Option<Id<Note>>
until_id: Option<Id<Note>>
Implementations
impl Request
[src]
pub fn builder() -> RequestBuilder<((), (), (), (), (), (), (), (), ())>
[src]
Create a builder for building Request
.
On the builder, call .tag(...)
(optional), .query(...)
(optional), .reply(...)
(optional), .renote(...)
(optional), .poll(...)
(optional), .with_files(...)
(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 PaginationRequest for Request
[src]
type Item = Note
The paginated item type.
pub fn set_since_id(&mut self, since_id: <Note as PaginationItem>::Id)
[src]
pub fn set_until_id(&mut self, until_id: <Note as PaginationItem>::Id)
[src]
pub fn set_limit(&mut self, limit: u8)
[src]
impl Request for Request
[src]
impl Serialize for Request
[src]
Auto Trait Implementations
impl RefUnwindSafe for Request
[src]
impl Send for Request
[src]
impl Sync for Request
[src]
impl Unpin for Request
[src]
impl UnwindSafe for Request
[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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,