pub struct GetPersonsPersonIdPostsQuery {
pub filter: Option<Vec<String>>,
pub limit: Option<i64>,
pub before: Option<DateTime<Utc>>,
pub last_post_indentifier: Option<String>,
pub after: Option<DateTime<Utc>>,
}Expand description
Query parameters for GET /persons/{personId}/posts.
Fields§
§filter: Option<Vec<String>>Can only be used if the endpoint is called with the personId of the currently logged in user. If a different personId is used in combination with filter[] the result will be empty.
Allowed values: banned, expiration_future, expiration_past, publication_future, published.
limit: Option<i64>Number of results per page.
before: Option<DateTime<Utc>>If set, only posts created before this date are returned. The date must be in RFC3339 format (Zulu-Date).
last_post_indentifier: Option<String>If set, posts created at the “before” date are included in the result, if the guids of the posts are lexically smaller than the last_post_indentifier. Will be ignored if “before” is not set.
after: Option<DateTime<Utc>>If set, only posts created after this date are returned. The date must be in RFC3339 format (Zulu-Date).
Trait Implementations§
Source§impl Clone for GetPersonsPersonIdPostsQuery
impl Clone for GetPersonsPersonIdPostsQuery
Source§impl Debug for GetPersonsPersonIdPostsQuery
impl Debug for GetPersonsPersonIdPostsQuery
Auto Trait Implementations§
impl Freeze for GetPersonsPersonIdPostsQuery
impl RefUnwindSafe for GetPersonsPersonIdPostsQuery
impl Send for GetPersonsPersonIdPostsQuery
impl Sync for GetPersonsPersonIdPostsQuery
impl Unpin for GetPersonsPersonIdPostsQuery
impl UnsafeUnpin for GetPersonsPersonIdPostsQuery
impl UnwindSafe for GetPersonsPersonIdPostsQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more