pub struct NetworkAllowlistEntry {
pub id: SpawnNetworkAllowlistId,
pub permits: Vec<NetworkPermitSketch>,
pub provider_native: Option<ProviderNativeNetworkSketch>,
}Expand description
One node-local catalog entry. Wire / inventory still use SpawnNetworkAllowlistId.
Fields§
§id: SpawnNetworkAllowlistId§permits: Vec<NetworkPermitSketch>Empty = id membership only (v1 id-list behavior).
provider_native: Option<ProviderNativeNetworkSketch>Implementations§
Source§impl NetworkAllowlistEntry
impl NetworkAllowlistEntry
pub fn membership_only(id: SpawnNetworkAllowlistId) -> Self
Trait Implementations§
Source§impl Clone for NetworkAllowlistEntry
impl Clone for NetworkAllowlistEntry
Source§impl Debug for NetworkAllowlistEntry
impl Debug for NetworkAllowlistEntry
impl Eq for NetworkAllowlistEntry
Source§impl FromIterator<NetworkAllowlistEntry> for NetworkAllowlistCatalog
impl FromIterator<NetworkAllowlistEntry> for NetworkAllowlistCatalog
Source§fn from_iter<T: IntoIterator<Item = NetworkAllowlistEntry>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = NetworkAllowlistEntry>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for NetworkAllowlistEntry
impl PartialEq for NetworkAllowlistEntry
impl StructuralPartialEq for NetworkAllowlistEntry
Auto Trait Implementations§
impl Freeze for NetworkAllowlistEntry
impl RefUnwindSafe for NetworkAllowlistEntry
impl Send for NetworkAllowlistEntry
impl Sync for NetworkAllowlistEntry
impl Unpin for NetworkAllowlistEntry
impl UnsafeUnpin for NetworkAllowlistEntry
impl UnwindSafe for NetworkAllowlistEntry
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