pub struct Target<'a> {
pub profile: &'a str,
pub address: &'a str,
}Expand description
Which cluster a mutation was sent to.
Namespace names repeat across environments, so a namespace alone cannot answer “was this SIT or production”. Profile and address together can.
Fields§
§profile: &'a str§address: &'a strTrait Implementations§
impl<'a> Copy for Target<'a>
impl<'a> Eq for Target<'a>
impl<'a> StructuralPartialEq for Target<'a>
Auto Trait Implementations§
impl<'a> Freeze for Target<'a>
impl<'a> RefUnwindSafe for Target<'a>
impl<'a> Send for Target<'a>
impl<'a> Sync for Target<'a>
impl<'a> Unpin for Target<'a>
impl<'a> UnsafeUnpin for Target<'a>
impl<'a> UnwindSafe for Target<'a>
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