#[non_exhaustive]pub struct NativeListVideosResponseBody {
pub data: Vec<NativeVideo>,
pub has_more: Option<Option<bool>>,
pub last_id: Option<Option<String>>,
pub rest: Rest,
}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.data: Vec<NativeVideo>§has_more: Option<Option<bool>>§last_id: Option<Option<String>>§rest: RestImplementations§
Source§impl NativeListVideosResponseBody
impl NativeListVideosResponseBody
Sourcepub fn builder(data: Vec<NativeVideo>) -> NativeListVideosResponseBodyBuilder
pub fn builder(data: Vec<NativeVideo>) -> NativeListVideosResponseBodyBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for NativeListVideosResponseBody
impl Clone for NativeListVideosResponseBody
Source§impl Debug for NativeListVideosResponseBody
impl Debug for NativeListVideosResponseBody
Source§impl DeclaredFields for NativeListVideosResponseBody
impl DeclaredFields for NativeListVideosResponseBody
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for NativeListVideosResponseBody
impl<'de> Deserialize<'de> for NativeListVideosResponseBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeListVideosResponseBody
impl StructuralPartialEq for NativeListVideosResponseBody
Auto Trait Implementations§
impl Freeze for NativeListVideosResponseBody
impl RefUnwindSafe for NativeListVideosResponseBody
impl Send for NativeListVideosResponseBody
impl Sync for NativeListVideosResponseBody
impl Unpin for NativeListVideosResponseBody
impl UnsafeUnpin for NativeListVideosResponseBody
impl UnwindSafe for NativeListVideosResponseBody
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