pub struct TargetRef {
pub kind: String,
pub name: String,
pub namespace: String,
}Expand description
Reference to the target resource being scaled.
Fields§
§kind: StringResource kind (e.g., “BoxService”, “Deployment”).
name: StringResource name.
namespace: StringNamespace (optional, defaults to “default”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TargetRef
impl<'de> Deserialize<'de> for TargetRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TargetRef
impl RefUnwindSafe for TargetRef
impl Send for TargetRef
impl Sync for TargetRef
impl Unpin for TargetRef
impl UnsafeUnpin for TargetRef
impl UnwindSafe for TargetRef
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