pub struct ServiceEnvironmentAssignment { /* private fields */ }Expand description
Explicit protected assignment to the service execution environment.
Implementations§
Source§impl ServiceEnvironmentAssignment
impl ServiceEnvironmentAssignment
Sourcepub fn new(
name: ServiceEnvironmentName,
value: impl Into<String>,
) -> Result<Self, ModelError>
pub fn new( name: ServiceEnvironmentName, value: impl Into<String>, ) -> Result<Self, ModelError>
Sourcepub const fn name(&self) -> &ServiceEnvironmentName
pub const fn name(&self) -> &ServiceEnvironmentName
Returns the provider name.
Sourcepub const fn value(&self) -> &ProtectedString
pub const fn value(&self) -> &ProtectedString
Returns the protected value.
Trait Implementations§
Source§impl Clone for ServiceEnvironmentAssignment
impl Clone for ServiceEnvironmentAssignment
Source§impl Debug for ServiceEnvironmentAssignment
impl Debug for ServiceEnvironmentAssignment
impl Eq for ServiceEnvironmentAssignment
impl StructuralPartialEq for ServiceEnvironmentAssignment
Auto Trait Implementations§
impl Freeze for ServiceEnvironmentAssignment
impl RefUnwindSafe for ServiceEnvironmentAssignment
impl Send for ServiceEnvironmentAssignment
impl Sync for ServiceEnvironmentAssignment
impl Unpin for ServiceEnvironmentAssignment
impl UnsafeUnpin for ServiceEnvironmentAssignment
impl UnwindSafe for ServiceEnvironmentAssignment
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