Struct dicom_ul::pdu::PDataValue
source · pub struct PDataValue {
pub presentation_context_id: u8,
pub value_type: PDataValueType,
pub is_last: bool,
pub data: Vec<u8>,
}
Fields§
§presentation_context_id: u8
§value_type: PDataValueType
§is_last: bool
§data: Vec<u8>
Trait Implementations§
source§impl Clone for PDataValue
impl Clone for PDataValue
source§fn clone(&self) -> PDataValue
fn clone(&self) -> PDataValue
Returns a copy 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 PDataValue
impl Debug for PDataValue
source§impl Hash for PDataValue
impl Hash for PDataValue
source§impl PartialEq for PDataValue
impl PartialEq for PDataValue
source§fn eq(&self, other: &PDataValue) -> bool
fn eq(&self, other: &PDataValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PDataValue
impl PartialOrd for PDataValue
source§fn partial_cmp(&self, other: &PDataValue) -> Option<Ordering>
fn partial_cmp(&self, other: &PDataValue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for PDataValue
impl StructuralPartialEq for PDataValue
Auto Trait Implementations§
impl Freeze for PDataValue
impl RefUnwindSafe for PDataValue
impl Send for PDataValue
impl Sync for PDataValue
impl Unpin for PDataValue
impl UnwindSafe for PDataValue
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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