pub struct NetworkList<'a> {
pub filters: Option<&'a str>,
}
Available on crate feature
v5
only.Fields§
§filters: Option<&'a str>
JSON encoded value of the filters (a map[string][]string
) to process on the network list. Currently available filters:
name=[name]
Matches network name (accepts regex).id=[id]
Matches for full or partial ID.driver=[driver]
Only bridge is supported.label=[key]
orlabel=[key=value]
Matches networks based on the presence of a label alone or a label and a value.
Trait Implementations§
Source§impl<'a> Debug for NetworkList<'a>
impl<'a> Debug for NetworkList<'a>
Source§impl<'a> Default for NetworkList<'a>
impl<'a> Default for NetworkList<'a>
Source§fn default() -> NetworkList<'a>
fn default() -> NetworkList<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for NetworkList<'a>
impl<'a> RefUnwindSafe for NetworkList<'a>
impl<'a> Send for NetworkList<'a>
impl<'a> Sync for NetworkList<'a>
impl<'a> Unpin for NetworkList<'a>
impl<'a> UnwindSafe for NetworkList<'a>
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