#[non_exhaustive]pub struct NetworkFlowLog {
pub logged: Option<String>,
pub node_id: Option<String>,
pub start: Option<String>,
pub end: Option<String>,
pub virtual_traffic: Option<Vec<ConnectionCounts>>,
pub subnet_traffic: Option<Vec<ConnectionCounts>>,
pub exit_traffic: Option<Vec<ConnectionCounts>>,
pub physical_traffic: Option<Vec<ConnectionCounts>>,
pub unknown: Unknown,
}Expand description
One node’s traffic over one interval, by the path it took.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.logged: Option<String>§node_id: Option<String>§start: Option<String>§end: Option<String>§virtual_traffic: Option<Vec<ConnectionCounts>>Tailscale address to Tailscale address.
subnet_traffic: Option<Vec<ConnectionCounts>>Through a subnet router.
exit_traffic: Option<Vec<ConnectionCounts>>Through an exit node.
physical_traffic: Option<Vec<ConnectionCounts>>The underlying transport, which is what the other three ride on.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for NetworkFlowLog
impl Clone for NetworkFlowLog
Source§impl Debug for NetworkFlowLog
impl Debug for NetworkFlowLog
Source§impl Default for NetworkFlowLog
impl Default for NetworkFlowLog
Source§impl<'de> Deserialize<'de> for NetworkFlowLog
impl<'de> Deserialize<'de> for NetworkFlowLog
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
Source§impl PartialEq for NetworkFlowLog
impl PartialEq for NetworkFlowLog
Source§impl Serialize for NetworkFlowLog
impl Serialize for NetworkFlowLog
impl StructuralPartialEq for NetworkFlowLog
Auto Trait Implementations§
impl Freeze for NetworkFlowLog
impl RefUnwindSafe for NetworkFlowLog
impl Send for NetworkFlowLog
impl Sync for NetworkFlowLog
impl Unpin for NetworkFlowLog
impl UnsafeUnpin for NetworkFlowLog
impl UnwindSafe for NetworkFlowLog
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