pub struct PresentationSummary {
pub cn: String,
pub name: String,
pub status: AuthorizationStatus,
pub commercialized: bool,
pub psum: Option<bool>,
}Expand description
Presentation of a medication (simplified view for listings)
Fields§
§cn: StringNational code
name: StringPresentation name
status: AuthorizationStatusRegistration status
commercialized: boolIndicates if commercialized
psum: Option<bool>Indicates if has supply problems
Trait Implementations§
Source§impl Clone for PresentationSummary
impl Clone for PresentationSummary
Source§fn clone(&self) -> PresentationSummary
fn clone(&self) -> PresentationSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PresentationSummary
impl Debug for PresentationSummary
Source§impl<'de> Deserialize<'de> for PresentationSummary
impl<'de> Deserialize<'de> for PresentationSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PresentationSummary
impl RefUnwindSafe for PresentationSummary
impl Send for PresentationSummary
impl Sync for PresentationSummary
impl Unpin for PresentationSummary
impl UnsafeUnpin for PresentationSummary
impl UnwindSafe for PresentationSummary
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