#[non_exhaustive]pub struct ListLogsResponse {
pub log_names: Vec<String>,
pub next_page_token: String,
/* private fields */
}Expand description
Result returned from ListLogs.
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.log_names: Vec<String>A list of log names. For example,
"projects/my-project/logs/syslog" or
"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity".
next_page_token: StringIf there might be more results than those appearing in this response, then
nextPageToken is included. To get the next set of results, call this
method again using the value of nextPageToken as pageToken.
Implementations§
Source§impl ListLogsResponse
impl ListLogsResponse
pub fn new() -> Self
Sourcepub fn set_log_names<T, V>(self, v: T) -> Self
pub fn set_log_names<T, V>(self, v: T) -> Self
Sets the value of log_names.
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 ListLogsResponse
impl Clone for ListLogsResponse
Source§fn clone(&self) -> ListLogsResponse
fn clone(&self) -> ListLogsResponse
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 ListLogsResponse
impl Debug for ListLogsResponse
Source§impl Default for ListLogsResponse
impl Default for ListLogsResponse
Source§fn default() -> ListLogsResponse
fn default() -> ListLogsResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListLogsResponse
impl Message for ListLogsResponse
Source§impl PartialEq for ListLogsResponse
impl PartialEq for ListLogsResponse
impl StructuralPartialEq for ListLogsResponse
Auto Trait Implementations§
impl Freeze for ListLogsResponse
impl RefUnwindSafe for ListLogsResponse
impl Send for ListLogsResponse
impl Sync for ListLogsResponse
impl Unpin for ListLogsResponse
impl UnwindSafe for ListLogsResponse
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