pub struct BlockSubject {
pub id: String,
pub usernames: Vec<String>,
pub cert_common_names: Vec<String>,
pub link_protocols: Option<Vec<String>>,
pub interfaces: Vec<String>,
pub zids: Vec<String>,
}Expand description
One subject of a router’s block, as read (§2.4, §2.15): zenoh 1.10.1’s
AclConfigSubjects. A session matches it when it matches every property
the subject names, and one value of each.
Fields§
§id: String§usernames: Vec<String>§cert_common_names: Vec<String>§link_protocols: Option<Vec<String>>None when the subject names no link protocol: it selects every one.
An empty list, which zenoh 1.10.1 refuses to load (§2.15, 0.4), is
read as None.
interfaces: Vec<String>§zids: Vec<String>Trait Implementations§
Source§impl Clone for BlockSubject
impl Clone for BlockSubject
Source§impl Debug for BlockSubject
impl Debug for BlockSubject
Source§impl Default for BlockSubject
impl Default for BlockSubject
impl Eq for BlockSubject
Source§impl PartialEq for BlockSubject
impl PartialEq for BlockSubject
impl StructuralPartialEq for BlockSubject
Auto Trait Implementations§
impl Forget for BlockSubject
impl Freeze for BlockSubject
impl Move for BlockSubject
impl RefUnwindSafe for BlockSubject
impl Send for BlockSubjectwhere
RawVecInner: Send,
impl Sync for BlockSubjectwhere
RawVecInner: Sync,
impl Unpin for BlockSubject
impl UnsafeUnpin for BlockSubjectwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BlockSubjectwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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