#[non_exhaustive]pub struct GetScreenshotRequest {
pub instance: String,
pub project: String,
pub zone: String,
/* private fields */
}Available on crate feature
instances only.Expand description
Synthetic request message for the getScreenshot() method.
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.instance: StringName of the instance scoping this request.
project: StringProject ID for this request.
zone: StringThe name of the zone for this request.
Implementations§
Source§impl GetScreenshotRequest
impl GetScreenshotRequest
pub fn new() -> Self
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_project<T: Into<String>>(self, v: T) -> Self
pub fn set_project<T: Into<String>>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for GetScreenshotRequest
impl Clone for GetScreenshotRequest
Source§fn clone(&self) -> GetScreenshotRequest
fn clone(&self) -> GetScreenshotRequest
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 GetScreenshotRequest
impl Debug for GetScreenshotRequest
Source§impl Default for GetScreenshotRequest
impl Default for GetScreenshotRequest
Source§fn default() -> GetScreenshotRequest
fn default() -> GetScreenshotRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetScreenshotRequest
impl PartialEq for GetScreenshotRequest
impl StructuralPartialEq for GetScreenshotRequest
Auto Trait Implementations§
impl Freeze for GetScreenshotRequest
impl RefUnwindSafe for GetScreenshotRequest
impl Send for GetScreenshotRequest
impl Sync for GetScreenshotRequest
impl Unpin for GetScreenshotRequest
impl UnwindSafe for GetScreenshotRequest
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