#[non_exhaustive]pub struct LocationMetadata {
pub environments: Vec<Environment>,
/* private fields */
}
Expand description
Extra GCF specific location information.
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.environments: Vec<Environment>
The Cloud Function environments this location supports.
Implementations§
Source§impl LocationMetadata
impl LocationMetadata
pub fn new() -> Self
Sourcepub fn set_environments<T, V>(self, v: T) -> Self
pub fn set_environments<T, V>(self, v: T) -> Self
Sets the value of environments.
Trait Implementations§
Source§impl Clone for LocationMetadata
impl Clone for LocationMetadata
Source§fn clone(&self) -> LocationMetadata
fn clone(&self) -> LocationMetadata
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 LocationMetadata
impl Debug for LocationMetadata
Source§impl Default for LocationMetadata
impl Default for LocationMetadata
Source§fn default() -> LocationMetadata
fn default() -> LocationMetadata
Returns the “default value” for a type. Read more
Source§impl Message for LocationMetadata
impl Message for LocationMetadata
Source§impl PartialEq for LocationMetadata
impl PartialEq for LocationMetadata
impl StructuralPartialEq for LocationMetadata
Auto Trait Implementations§
impl Freeze for LocationMetadata
impl RefUnwindSafe for LocationMetadata
impl Send for LocationMetadata
impl Sync for LocationMetadata
impl Unpin for LocationMetadata
impl UnwindSafe for LocationMetadata
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