pub enum OwnedResourceSpecifier {
Topic(String),
Group(String),
Broker(i32),
}
Expand description
A ResourceSpecifier
that owns its data.
Variants§
Topic(String)
A topic resource, identified by its name.
Group(String)
A group resource, identified by its ID.
Broker(i32)
A broker resource, identified by its ID.
Trait Implementations§
source§impl Debug for OwnedResourceSpecifier
impl Debug for OwnedResourceSpecifier
source§impl PartialEq<OwnedResourceSpecifier> for OwnedResourceSpecifier
impl PartialEq<OwnedResourceSpecifier> for OwnedResourceSpecifier
source§fn eq(&self, other: &OwnedResourceSpecifier) -> bool
fn eq(&self, other: &OwnedResourceSpecifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OwnedResourceSpecifier
impl StructuralEq for OwnedResourceSpecifier
impl StructuralPartialEq for OwnedResourceSpecifier
Auto Trait Implementations§
impl RefUnwindSafe for OwnedResourceSpecifier
impl Send for OwnedResourceSpecifier
impl Sync for OwnedResourceSpecifier
impl Unpin for OwnedResourceSpecifier
impl UnwindSafe for OwnedResourceSpecifier
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