pub struct OutboundSubscriptionInput {
pub remark: String,
pub url: String,
pub user_agent: String,
pub tag_prefix: String,
pub enabled: bool,
pub allow_private: bool,
pub allow_insecure: bool,
pub prepend: bool,
pub update_interval: i32,
}Expand description
Full replacement payload for a remote outbound subscription.
Fields§
§remark: StringUser-visible remark.
url: StringRemote subscription URL.
user_agent: StringUser agent used to fetch this remote subscription.
tag_prefix: StringPrefix applied to generated tags.
enabled: boolWhether it contributes outbounds.
allow_private: boolWhether private destination addresses are allowed.
allow_insecure: boolWhether invalid TLS certificates are accepted.
prepend: boolWhether remote outbounds precede manual outbounds.
update_interval: i32Refresh interval in seconds.
Implementations§
Trait Implementations§
Source§impl Clone for OutboundSubscriptionInput
impl Clone for OutboundSubscriptionInput
Source§impl Debug for OutboundSubscriptionInput
impl Debug for OutboundSubscriptionInput
Auto Trait Implementations§
impl Freeze for OutboundSubscriptionInput
impl RefUnwindSafe for OutboundSubscriptionInput
impl Send for OutboundSubscriptionInput
impl Sync for OutboundSubscriptionInput
impl Unpin for OutboundSubscriptionInput
impl UnsafeUnpin for OutboundSubscriptionInput
impl UnwindSafe for OutboundSubscriptionInput
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 more