#[non_exhaustive]pub struct ConfigRef {
pub name: String,
/* private fields */
}Expand description
Represents a service configuration with its name and id.
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: StringResource name of a service config. It must have the following format: “services/{service name}/configs/{config id}”.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ConfigRef
Auto Trait Implementations§
impl Freeze for ConfigRef
impl RefUnwindSafe for ConfigRef
impl Send for ConfigRef
impl Sync for ConfigRef
impl Unpin for ConfigRef
impl UnwindSafe for ConfigRef
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