#[non_exhaustive]pub struct GetAppOptionalParams {
pub version: Option<String>,
}
Expand description
GetAppOptionalParams is a struct for passing parameters to the method AppBuilderAPI::get_app
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.version: Option<String>
The version number of the app to retrieve. If not specified, the latest version is returned. Version numbers start at 1 and increment with each update. The special values latest
and deployed
can be used to retrieve the latest version or the published version, respectively.
Implementations§
Source§impl GetAppOptionalParams
impl GetAppOptionalParams
Sourcepub fn version(self, value: String) -> Self
pub fn version(self, value: String) -> Self
The version number of the app to retrieve. If not specified, the latest version is returned. Version numbers start at 1 and increment with each update. The special values latest
and deployed
can be used to retrieve the latest version or the published version, respectively.
Trait Implementations§
Source§impl Clone for GetAppOptionalParams
impl Clone for GetAppOptionalParams
Source§fn clone(&self) -> GetAppOptionalParams
fn clone(&self) -> GetAppOptionalParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetAppOptionalParams
impl Debug for GetAppOptionalParams
Source§impl Default for GetAppOptionalParams
impl Default for GetAppOptionalParams
Source§fn default() -> GetAppOptionalParams
fn default() -> GetAppOptionalParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetAppOptionalParams
impl RefUnwindSafe for GetAppOptionalParams
impl Send for GetAppOptionalParams
impl Sync for GetAppOptionalParams
impl Unpin for GetAppOptionalParams
impl UnwindSafe for GetAppOptionalParams
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