#[non_exhaustive]pub struct TwitterPostRepostersOptions {
pub freshness: Option<Freshness>,
pub cursor: Option<String>,
pub request_options: RequestOptions,
}Expand description
Options for twitter.post.reposters.list.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.freshness: Option<Freshness>Maximum accepted data age. The default is 24h.
cursor: Option<String>Opaque cursor returned by the previous page.
request_options: RequestOptionsRetry and timeout controls for this request.
Implementations§
Source§impl TwitterPostRepostersOptions
impl TwitterPostRepostersOptions
Sourcepub fn freshness(self, value: Freshness) -> Self
pub fn freshness(self, value: Freshness) -> Self
Maximum accepted data age. The default is 24h.
Sourcepub fn cursor(self, value: impl Into<String>) -> Self
pub fn cursor(self, value: impl Into<String>) -> Self
Opaque cursor returned by the previous page.
Sourcepub fn max_retries(self, value: u32) -> Self
pub fn max_retries(self, value: u32) -> Self
Sets the retry attempts after the first request.
Trait Implementations§
Source§impl Clone for TwitterPostRepostersOptions
impl Clone for TwitterPostRepostersOptions
Source§impl Debug for TwitterPostRepostersOptions
impl Debug for TwitterPostRepostersOptions
impl StructuralPartialEq for TwitterPostRepostersOptions
Auto Trait Implementations§
impl Forget for TwitterPostRepostersOptions
impl Freeze for TwitterPostRepostersOptions
impl Move for TwitterPostRepostersOptions
impl RefUnwindSafe for TwitterPostRepostersOptions
impl Send for TwitterPostRepostersOptions
impl Sync for TwitterPostRepostersOptions
impl Unpin for TwitterPostRepostersOptions
impl UnsafeUnpin for TwitterPostRepostersOptions
impl UnwindSafe for TwitterPostRepostersOptions
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