pub struct Ec2TagConfig {
pub tag_key: String,
pub tag_value: String,
pub port: u16,
pub region: Option<String>,
pub use_public_ip: bool,
}Expand description
Configuration for EC2 tag-based discovery.
Fields§
§tag_key: StringTag key to filter on (e.g., "dactor-cluster").
tag_value: StringTag value to match (e.g., "my-cluster").
port: u16Port to append to each discovered IP address.
region: Option<String>AWS region override. Uses the SDK default chain when None.
use_public_ip: boolWhen true, return public IPs instead of private IPs.
Trait Implementations§
Source§impl Clone for Ec2TagConfig
impl Clone for Ec2TagConfig
Source§fn clone(&self) -> Ec2TagConfig
fn clone(&self) -> Ec2TagConfig
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 Ec2TagConfig
impl Debug for Ec2TagConfig
Auto Trait Implementations§
impl Freeze for Ec2TagConfig
impl RefUnwindSafe for Ec2TagConfig
impl Send for Ec2TagConfig
impl Sync for Ec2TagConfig
impl Unpin for Ec2TagConfig
impl UnsafeUnpin for Ec2TagConfig
impl UnwindSafe for Ec2TagConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.