#[non_exhaustive]pub struct AppEngineVersionInfo {
pub display_name: String,
pub uri: String,
pub runtime: String,
pub environment: String,
/* private fields */
}Expand description
For display only. Metadata associated with an App Engine version.
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.display_name: StringName of an App Engine version.
uri: StringURI of an App Engine version.
runtime: StringRuntime of the App Engine version.
environment: StringApp Engine execution environment for a version.
Implementations§
Source§impl AppEngineVersionInfo
impl AppEngineVersionInfo
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
§Example
ⓘ
let x = AppEngineVersionInfo::new().set_display_name("example");Sourcepub fn set_runtime<T: Into<String>>(self, v: T) -> Self
pub fn set_runtime<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_environment<T: Into<String>>(self, v: T) -> Self
pub fn set_environment<T: Into<String>>(self, v: T) -> Self
Sets the value of environment.
§Example
ⓘ
let x = AppEngineVersionInfo::new().set_environment("example");Trait Implementations§
Source§impl Clone for AppEngineVersionInfo
impl Clone for AppEngineVersionInfo
Source§fn clone(&self) -> AppEngineVersionInfo
fn clone(&self) -> AppEngineVersionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AppEngineVersionInfo
impl Debug for AppEngineVersionInfo
Source§impl Default for AppEngineVersionInfo
impl Default for AppEngineVersionInfo
Source§fn default() -> AppEngineVersionInfo
fn default() -> AppEngineVersionInfo
Returns the “default value” for a type. Read more
Source§impl Message for AppEngineVersionInfo
impl Message for AppEngineVersionInfo
Source§impl PartialEq for AppEngineVersionInfo
impl PartialEq for AppEngineVersionInfo
Source§fn eq(&self, other: &AppEngineVersionInfo) -> bool
fn eq(&self, other: &AppEngineVersionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AppEngineVersionInfo
Auto Trait Implementations§
impl Freeze for AppEngineVersionInfo
impl RefUnwindSafe for AppEngineVersionInfo
impl Send for AppEngineVersionInfo
impl Sync for AppEngineVersionInfo
impl Unpin for AppEngineVersionInfo
impl UnsafeUnpin for AppEngineVersionInfo
impl UnwindSafe for AppEngineVersionInfo
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