pub struct GetTemplatesRequest<'a> {
pub generations: Option<String>,
pub page_size: f64,
pub page_token: Option<String>,
pub on_behalf_of: Option<String>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§generations: Option<String>§page_size: f64§page_token: Option<String>§on_behalf_of: Option<String>Implementations§
Source§impl<'a> GetTemplatesRequest<'a>
impl<'a> GetTemplatesRequest<'a>
pub async fn send(self) -> Result<Value>
pub fn generations(self, generations: &str) -> Self
pub fn page_token(self, page_token: &str) -> Self
pub fn on_behalf_of(self, on_behalf_of: &str) -> Self
Auto Trait Implementations§
impl<'a> Freeze for GetTemplatesRequest<'a>
impl<'a> !RefUnwindSafe for GetTemplatesRequest<'a>
impl<'a> Send for GetTemplatesRequest<'a>
impl<'a> Sync for GetTemplatesRequest<'a>
impl<'a> Unpin for GetTemplatesRequest<'a>
impl<'a> !UnwindSafe for GetTemplatesRequest<'a>
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