Struct dicom_ul::pdu::AssociationAC
source · pub struct AssociationAC {
pub protocol_version: u16,
pub calling_ae_title: String,
pub called_ae_title: String,
pub application_context_name: String,
pub presentation_contexts: Vec<PresentationContextResult>,
pub user_variables: Vec<UserVariableItem>,
}
Expand description
An in-memory representation of an association acknowledgement
Fields§
§protocol_version: u16
§calling_ae_title: String
§called_ae_title: String
§application_context_name: String
§presentation_contexts: Vec<PresentationContextResult>
§user_variables: Vec<UserVariableItem>
Trait Implementations§
source§impl Clone for AssociationAC
impl Clone for AssociationAC
source§fn clone(&self) -> AssociationAC
fn clone(&self) -> AssociationAC
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 AssociationAC
impl Debug for AssociationAC
source§impl From<AssociationAC> for Pdu
impl From<AssociationAC> for Pdu
source§fn from(value: AssociationAC) -> Self
fn from(value: AssociationAC) -> Self
Converts to this type from the input type.
source§impl Hash for AssociationAC
impl Hash for AssociationAC
source§impl PartialEq for AssociationAC
impl PartialEq for AssociationAC
source§fn eq(&self, other: &AssociationAC) -> bool
fn eq(&self, other: &AssociationAC) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssociationAC
impl PartialOrd for AssociationAC
source§fn partial_cmp(&self, other: &AssociationAC) -> Option<Ordering>
fn partial_cmp(&self, other: &AssociationAC) -> 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 AssociationAC
impl StructuralPartialEq for AssociationAC
Auto Trait Implementations§
impl Freeze for AssociationAC
impl RefUnwindSafe for AssociationAC
impl Send for AssociationAC
impl Sync for AssociationAC
impl Unpin for AssociationAC
impl UnwindSafe for AssociationAC
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