#[non_exhaustive]pub struct AppHubService {
pub apphub_service: String,
pub criticality: String,
pub environment: String,
/* private fields */
}Expand description
AppHubService represents the App Hub Service.
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.apphub_service: StringRequired. Output only. Immutable. The name of the App Hub Service.
Format:
projects/{project}/locations/{location}/applications/{application}/services/{service}.
criticality: StringOutput only. The criticality of the App Hub Service.
environment: StringOutput only. The environment of the App Hub Service.
Implementations§
Source§impl AppHubService
impl AppHubService
pub fn new() -> Self
Sourcepub fn set_apphub_service<T: Into<String>>(self, v: T) -> Self
pub fn set_apphub_service<T: Into<String>>(self, v: T) -> Self
Sets the value of apphub_service.
§Example
ⓘ
let x = AppHubService::new().set_apphub_service("example");Sourcepub fn set_criticality<T: Into<String>>(self, v: T) -> Self
pub fn set_criticality<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
Trait Implementations§
Source§impl Clone for AppHubService
impl Clone for AppHubService
Source§fn clone(&self) -> AppHubService
fn clone(&self) -> AppHubService
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 AppHubService
impl Debug for AppHubService
Source§impl Default for AppHubService
impl Default for AppHubService
Source§fn default() -> AppHubService
fn default() -> AppHubService
Returns the “default value” for a type. Read more
Source§impl Message for AppHubService
impl Message for AppHubService
Source§impl PartialEq for AppHubService
impl PartialEq for AppHubService
impl StructuralPartialEq for AppHubService
Auto Trait Implementations§
impl Freeze for AppHubService
impl RefUnwindSafe for AppHubService
impl Send for AppHubService
impl Sync for AppHubService
impl Unpin for AppHubService
impl UnsafeUnpin for AppHubService
impl UnwindSafe for AppHubService
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