#[non_exhaustive]pub struct GetFunctionRequest {
pub name: String,
pub revision: String,
/* private fields */
}
Expand description
Request for the GetFunction
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.name: String
Required. The name of the function which details should be obtained.
revision: String
Optional. The optional version of the 1st gen function whose details should be obtained. The version of a 1st gen function is an integer that starts from 1 and gets incremented on redeployments. GCF may keep historical configs for old versions of 1st gen function. This field can be specified to fetch the historical configs. This field is valid only for GCF 1st gen function.
Implementations§
Trait Implementations§
Source§impl Clone for GetFunctionRequest
impl Clone for GetFunctionRequest
Source§fn clone(&self) -> GetFunctionRequest
fn clone(&self) -> GetFunctionRequest
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 GetFunctionRequest
impl Debug for GetFunctionRequest
Source§impl Default for GetFunctionRequest
impl Default for GetFunctionRequest
Source§fn default() -> GetFunctionRequest
fn default() -> GetFunctionRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetFunctionRequest
impl Message for GetFunctionRequest
Source§impl PartialEq for GetFunctionRequest
impl PartialEq for GetFunctionRequest
impl StructuralPartialEq for GetFunctionRequest
Auto Trait Implementations§
impl Freeze for GetFunctionRequest
impl RefUnwindSafe for GetFunctionRequest
impl Send for GetFunctionRequest
impl Sync for GetFunctionRequest
impl Unpin for GetFunctionRequest
impl UnwindSafe for GetFunctionRequest
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