pub struct RequestBuilder { /* private fields */ }
Expand description
ListStudiesRequest builder.
Implementations§
Source§impl RequestBuilder
impl RequestBuilder
Sourcepub fn new(owner: String) -> Self
pub fn new(owner: String) -> Self
Creates a new instance of ListStudiesRequest builder.
Sourcepub fn with_page_size(self, page_size: i32) -> Self
pub fn with_page_size(self, page_size: i32) -> Self
Sets the page size.
Sourcepub fn with_page_token(self, page_token: String) -> Self
pub fn with_page_token(self, page_token: String) -> Self
Sets the page token to get a following page - See
next_page_token
.
Sourcepub fn build(self) -> ListStudiesRequest
pub fn build(self) -> ListStudiesRequest
Builds the ListStudiesRequest.
Auto Trait Implementations§
impl Freeze for RequestBuilder
impl RefUnwindSafe for RequestBuilder
impl Send for RequestBuilder
impl Sync for RequestBuilder
impl Unpin for RequestBuilder
impl UnwindSafe for RequestBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request