#[non_exhaustive]pub struct ListTrialsRequest {
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.ListTrials.
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 Study to list the Trial from.
Format: projects/{project}/locations/{location}/studies/{study}
page_token: StringOptional. A page token to request the next page of results. If unspecified, there are no subsequent pages.
page_size: i32Optional. The number of Trials to retrieve per “page” of results. If unspecified, the service will pick an appropriate default.
Implementations§
Source§impl ListTrialsRequest
impl ListTrialsRequest
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
Trait Implementations§
Source§impl Clone for ListTrialsRequest
impl Clone for ListTrialsRequest
Source§fn clone(&self) -> ListTrialsRequest
fn clone(&self) -> ListTrialsRequest
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 ListTrialsRequest
impl Debug for ListTrialsRequest
Source§impl Default for ListTrialsRequest
impl Default for ListTrialsRequest
Source§fn default() -> ListTrialsRequest
fn default() -> ListTrialsRequest
Returns the “default value” for a type. Read more
Source§impl Message for ListTrialsRequest
impl Message for ListTrialsRequest
Source§impl PartialEq for ListTrialsRequest
impl PartialEq for ListTrialsRequest
impl StructuralPartialEq for ListTrialsRequest
Auto Trait Implementations§
impl Freeze for ListTrialsRequest
impl RefUnwindSafe for ListTrialsRequest
impl Send for ListTrialsRequest
impl Sync for ListTrialsRequest
impl Unpin for ListTrialsRequest
impl UnwindSafe for ListTrialsRequest
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