#[non_exhaustive]pub struct ListStreamObjectsResponse {
pub stream_objects: Vec<StreamObject>,
pub next_page_token: String,
/* private fields */
}
Expand description
Response containing the objects for a stream.
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.stream_objects: Vec<StreamObject>
List of stream objects.
next_page_token: String
A token, which can be sent as page_token
to retrieve the next page.
Implementations§
Source§impl ListStreamObjectsResponse
impl ListStreamObjectsResponse
pub fn new() -> Self
Sourcepub fn set_stream_objects<T, V>(self, v: T) -> Self
pub fn set_stream_objects<T, V>(self, v: T) -> Self
Sets the value of stream_objects.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListStreamObjectsResponse
impl Clone for ListStreamObjectsResponse
Source§fn clone(&self) -> ListStreamObjectsResponse
fn clone(&self) -> ListStreamObjectsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListStreamObjectsResponse
impl Debug for ListStreamObjectsResponse
Source§impl Default for ListStreamObjectsResponse
impl Default for ListStreamObjectsResponse
Source§fn default() -> ListStreamObjectsResponse
fn default() -> ListStreamObjectsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListStreamObjectsResponse
impl Message for ListStreamObjectsResponse
impl StructuralPartialEq for ListStreamObjectsResponse
Auto Trait Implementations§
impl Freeze for ListStreamObjectsResponse
impl RefUnwindSafe for ListStreamObjectsResponse
impl Send for ListStreamObjectsResponse
impl Sync for ListStreamObjectsResponse
impl Unpin for ListStreamObjectsResponse
impl UnwindSafe for ListStreamObjectsResponse
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