#[non_exhaustive]pub struct ListStudiesRequest {
pub parent: String,
pub page_token: String,
pub page_size: i32,
/* private fields */
}Available on crate feature
vizier-service only.Expand description
Request message for VizierService.ListStudies.
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.parent: StringRequired. The resource name of the Location to list the Study from.
Format: projects/{project}/locations/{location}
page_token: StringOptional. A page token to request the next page of results. If unspecified, there are no subsequent pages.
page_size: i32Optional. The maximum number of studies to return per “page” of results. If unspecified, service will pick an appropriate default.
Implementations§
Source§impl ListStudiesRequest
impl ListStudiesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
ⓘ
let x = ListStudiesRequest::new().set_page_token("example");Trait Implementations§
Source§impl Clone for ListStudiesRequest
impl Clone for ListStudiesRequest
Source§fn clone(&self) -> ListStudiesRequest
fn clone(&self) -> ListStudiesRequest
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 ListStudiesRequest
impl Debug for ListStudiesRequest
Source§impl Default for ListStudiesRequest
impl Default for ListStudiesRequest
Source§fn default() -> ListStudiesRequest
fn default() -> ListStudiesRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListStudiesRequest
impl Message for ListStudiesRequest
Source§impl PartialEq for ListStudiesRequest
impl PartialEq for ListStudiesRequest
impl StructuralPartialEq for ListStudiesRequest
Auto Trait Implementations§
impl Freeze for ListStudiesRequest
impl RefUnwindSafe for ListStudiesRequest
impl Send for ListStudiesRequest
impl Sync for ListStudiesRequest
impl Unpin for ListStudiesRequest
impl UnwindSafe for ListStudiesRequest
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