pub struct Inbound {Show 18 fields
pub id: i64,
pub up: i64,
pub down: i64,
pub total: i64,
pub all_time: i64,
pub remark: String,
pub enable: bool,
pub expiry_time: i64,
pub traffic_reset: String,
pub last_traffic_reset_time: i64,
pub client_stats: Vec<ClientTraffic>,
pub listen: String,
pub port: u16,
pub protocol: Protocol,
pub settings: Value,
pub stream_settings: Value,
pub tag: String,
pub sniffing: Value,
}Fields§
§id: i64§up: i64§down: i64§total: i64§all_time: i64§remark: String§enable: bool§expiry_time: i64§traffic_reset: String§last_traffic_reset_time: i64§client_stats: Vec<ClientTraffic>§listen: String§port: u16§protocol: Protocol§settings: Value§stream_settings: Value§tag: String§sniffing: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for Inbound
impl<'de> Deserialize<'de> for Inbound
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 Inbound
impl RefUnwindSafe for Inbound
impl Send for Inbound
impl Sync for Inbound
impl Unpin for Inbound
impl UnsafeUnpin for Inbound
impl UnwindSafe for Inbound
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