pub enum ObjectSpecifier {
Type(ObjectType),
Identifier(ObjectIdentifier),
}Expand description
The object specifier: by type (server picks instance) or by identifier.
Variants§
Type(ObjectType)
Create by type — server assigns instance number ([0] context tag inside [0] constructed).
Identifier(ObjectIdentifier)
Create with a specific identifier ([1] context tag inside [0] constructed).
Trait Implementations§
Source§impl Clone for ObjectSpecifier
impl Clone for ObjectSpecifier
Source§fn clone(&self) -> ObjectSpecifier
fn clone(&self) -> ObjectSpecifier
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectSpecifier
impl Debug for ObjectSpecifier
Source§impl PartialEq for ObjectSpecifier
impl PartialEq for ObjectSpecifier
impl Eq for ObjectSpecifier
impl StructuralPartialEq for ObjectSpecifier
Auto Trait Implementations§
impl Freeze for ObjectSpecifier
impl RefUnwindSafe for ObjectSpecifier
impl Send for ObjectSpecifier
impl Sync for ObjectSpecifier
impl Unpin for ObjectSpecifier
impl UnsafeUnpin for ObjectSpecifier
impl UnwindSafe for ObjectSpecifier
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