pub enum TargetAddress {
Key(Vec<u8>),
Profile(TaggedProfile),
Reference {
selected_profile_index: u32,
ior: Ior,
},
}Expand description
GIOP::TargetAddress, the object a request is sent to.
Variants§
Key(Vec<u8>)
The object key from the profile.
Profile(TaggedProfile)
A whole profile.
Reference
An IOR and the index of the profile that was used.
Implementations§
Source§impl TargetAddress
impl TargetAddress
Sourcepub fn disposition(&self) -> AddressingDisposition
pub fn disposition(&self) -> AddressingDisposition
The addressing disposition of this target.
Sourcepub fn object_key(&self) -> Option<&[u8]>
pub fn object_key(&self) -> Option<&[u8]>
The object key when addressed by key.
Trait Implementations§
Source§impl Clone for TargetAddress
impl Clone for TargetAddress
Source§impl Debug for TargetAddress
impl Debug for TargetAddress
impl Eq for TargetAddress
Source§impl PartialEq for TargetAddress
impl PartialEq for TargetAddress
impl StructuralPartialEq for TargetAddress
Auto Trait Implementations§
impl Freeze for TargetAddress
impl RefUnwindSafe for TargetAddress
impl Send for TargetAddress
impl Sync for TargetAddress
impl Unpin for TargetAddress
impl UnsafeUnpin for TargetAddress
impl UnwindSafe for TargetAddress
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