pub struct OutboundSubscription {Show 17 fields
pub id: i64,
pub remark: String,
pub url: String,
pub enabled: bool,
pub allow_private: bool,
pub allow_insecure: bool,
pub user_agent: String,
pub tag_prefix: String,
pub update_interval: i32,
pub priority: i32,
pub prepend: bool,
pub last_updated: i64,
pub last_error: String,
pub last_fetched_outbounds: String,
pub created_at: i64,
pub updated_at: i64,
pub outbound_count: i32,
}Expand description
Stored remote outbound subscription.
Fields§
§id: i64Database identifier.
remark: StringUser-visible remark.
url: StringRemote subscription URL.
enabled: boolWhether it contributes outbounds.
allow_private: boolWhether private destination addresses are allowed.
allow_insecure: boolWhether invalid TLS certificates are accepted.
user_agent: StringUser agent used to fetch this remote subscription.
tag_prefix: StringPrefix applied to generated outbound tags.
update_interval: i32Refresh interval in seconds.
priority: i32Merge priority.
prepend: boolWhether remote outbounds precede manual outbounds.
last_updated: i64Last successful refresh timestamp.
last_error: StringLast refresh error.
last_fetched_outbounds: StringCached raw outbounds, normally redacted by list operations.
created_at: i64Unix creation timestamp in milliseconds.
updated_at: i64Unix update timestamp in milliseconds.
outbound_count: i32Parsed outbound count.
Trait Implementations§
Source§impl Clone for OutboundSubscription
impl Clone for OutboundSubscription
Source§impl Debug for OutboundSubscription
impl Debug for OutboundSubscription
Source§impl Default for OutboundSubscription
impl Default for OutboundSubscription
Source§impl<'de> Deserialize<'de> for OutboundSubscriptionwhere
OutboundSubscription: Default,
impl<'de> Deserialize<'de> for OutboundSubscriptionwhere
OutboundSubscription: Default,
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
impl Eq for OutboundSubscription
Source§impl PartialEq for OutboundSubscription
impl PartialEq for OutboundSubscription
Source§impl Serialize for OutboundSubscription
impl Serialize for OutboundSubscription
impl StructuralPartialEq for OutboundSubscription
Auto Trait Implementations§
impl Freeze for OutboundSubscription
impl RefUnwindSafe for OutboundSubscription
impl Send for OutboundSubscription
impl Sync for OutboundSubscription
impl Unpin for OutboundSubscription
impl UnsafeUnpin for OutboundSubscription
impl UnwindSafe for OutboundSubscription
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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