#[non_exhaustive]pub struct YouTubePostSoundPostsOptions {
pub freshness: Option<Freshness>,
pub cursor: Option<String>,
pub request_options: RequestOptions,
}Expand description
Options for youtube.post.soundPosts.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 YouTubePostSoundPostsOptions
impl YouTubePostSoundPostsOptions
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 YouTubePostSoundPostsOptions
impl Clone for YouTubePostSoundPostsOptions
Source§impl Debug for YouTubePostSoundPostsOptions
impl Debug for YouTubePostSoundPostsOptions
impl StructuralPartialEq for YouTubePostSoundPostsOptions
Auto Trait Implementations§
impl Forget for YouTubePostSoundPostsOptions
impl Freeze for YouTubePostSoundPostsOptions
impl Move for YouTubePostSoundPostsOptions
impl RefUnwindSafe for YouTubePostSoundPostsOptions
impl Send for YouTubePostSoundPostsOptions
impl Sync for YouTubePostSoundPostsOptions
impl Unpin for YouTubePostSoundPostsOptions
impl UnsafeUnpin for YouTubePostSoundPostsOptions
impl UnwindSafe for YouTubePostSoundPostsOptions
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