Enum ColorCodes

Source
pub enum ColorCodes {
Show 149 variants Aliceblue, Antiquewhite, Aqua, Aquamarine, Azure, Beige, Bisque, Black, Blanchedalmond, Blue, Blueviolet, Brown, Burlywood, Cadetblue, Chartreuse, Chocolate, Coral, Cornflowerblue, Cornsilk, Crimson, Cyan, Darkblue, Darkcyan, Darkgoldenrod, Darkgray, Darkgreen, Darkgrey, Darkkhaki, Darkmagenta, Darkolivegreen, Darkorange, Darkorchid, Darkred, Darksalmon, Darkseagreen, Darkslateblue, Darkslategray, Darkslategrey, Darkturquoise, Darkviolet, Deeppink, Deepskyblue, Dimgray, Dimgrey, Dodgerblue, Firebrick, Floralwhite, Forestgreen, Fuchsia, Gainsboro, Ghostwhite, Gold, Goldenrod, Gray, Green, Greenyellow, Grey, Honeydew, Hotpink, Indianred, Indigo, Ivory, Khaki, Lavender, Lavenderblush, Lawngreen, Lemonchiffon, Lightblue, Lightcoral, Lightcyan, Lightgoldenrodyellow, Lightgray, Lightgreen, Lightgrey, Lightpink, Lightsalmon, Lightseagreen, Lightskyblue, Lightslategray, Lightslategrey, Lightsteelblue, Lightyellow, Lime, Limegreen, Linen, Magenta, Maroon, Mediumaquamarine, Mediumblue, Mediumorchid, Mediumpurple, Mediumseagreen, Mediumslateblue, Mediumspringgreen, Mediumturquoise, Mediumvioletred, Midnightblue, Mintcream, Mistyrose, Moccasin, Navajowhite, Navy, Oldlace, Olive, Olivedrab, Orange, Orangered, Orchid, Palegoldenrod, Palegreen, Paleturquoise, Palevioletred, Papayawhip, Peachpuff, Peru, Pink, Plum, Powderblue, Purple, Rebeccapurple, Red, Rosybrown, Royalblue, Saddlebrown, Salmon, Sandybrown, Seagreen, Seashell, Sienna, Silver, Skyblue, Slateblue, Slategray, Slategrey, Snow, Springgreen, Steelblue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, Wheat, White, Whitesmoke, Yellow, Yellowgreen, _Custom(String),
}
Expand description

ColorCodes. This code system represents that named RGB colors found in the CSS4 specification. The names are not case sensitive and different cases are encountered in common use (e.g. AliceBlue vs aliceblue.

FHIR version: 5.0.0.

Variants§

§

Aliceblue

aliceblue

aliceblue.

§

Antiquewhite

antiquewhite

antiquewhite.

§

Aqua

aqua

aqua.

§

Aquamarine

aquamarine

aquamarine.

§

Azure

azure

azure.

§

Beige

beige

beige.

§

Bisque

bisque

bisque.

§

Black

black

black.

§

Blanchedalmond

blanchedalmond

blanchedalmond.

§

Blue

blue

blue.

§

Blueviolet

blueviolet

blueviolet.

§

Brown

brown

brown.

§

Burlywood

burlywood

burlywood.

§

Cadetblue

cadetblue

cadetblue.

§

Chartreuse

chartreuse

chartreuse.

§

Chocolate

chocolate

chocolate.

§

Coral

coral

coral.

§

Cornflowerblue

cornflowerblue

cornflowerblue.

§

Cornsilk

cornsilk

cornsilk.

§

Crimson

crimson

crimson.

§

Cyan

cyan

cyan.

§

Darkblue

darkblue

darkblue.

§

Darkcyan

darkcyan

darkcyan.

§

Darkgoldenrod

darkgoldenrod

darkgoldenrod.

§

Darkgray

darkgray

darkgray.

§

Darkgreen

darkgreen

darkgreen.

§

Darkgrey

darkgrey

darkgrey.

§

Darkkhaki

darkkhaki

darkkhaki.

§

Darkmagenta

darkmagenta

darkmagenta.

§

Darkolivegreen

darkolivegreen

darkolivegreen.

§

Darkorange

darkorange

darkorange.

§

Darkorchid

darkorchid

darkorchid.

§

Darkred

darkred

darkred.

§

Darksalmon

darksalmon

darksalmon.

§

Darkseagreen

darkseagreen

darkseagreen.

§

Darkslateblue

darkslateblue

darkslateblue.

§

Darkslategray

darkslategray

darkslategray.

§

Darkslategrey

darkslategrey

darkslategrey.

§

Darkturquoise

darkturquoise

darkturquoise.

§

Darkviolet

darkviolet

darkviolet.

§

Deeppink

deeppink

deeppink.

§

Deepskyblue

deepskyblue

deepskyblue.

§

Dimgray

dimgray

dimgray.

§

Dimgrey

dimgrey

dimgrey.

§

Dodgerblue

dodgerblue

dodgerblue.

§

Firebrick

firebrick

firebrick.

§

Floralwhite

floralwhite

floralwhite.

§

Forestgreen

forestgreen

forestgreen.

§

Fuchsia

fuchsia

fuchsia.

§

Gainsboro

gainsboro

gainsboro.

§

Ghostwhite

ghostwhite

ghostwhite.

§

Gold

gold

gold.

§

Goldenrod

goldenrod

goldenrod.

§

Gray

gray

gray.

§

Green

green

green.

§

Greenyellow

greenyellow

greenyellow.

§

Grey

grey

grey.

§

Honeydew

honeydew

honeydew.

§

Hotpink

hotpink

hotpink.

§

Indianred

indianred

indianred.

§

Indigo

indigo

indigo.

§

Ivory

ivory

ivory.

§

Khaki

khaki

khaki.

§

Lavender

lavender

lavender.

§

Lavenderblush

lavenderblush

lavenderblush.

§

Lawngreen

lawngreen

lawngreen.

§

Lemonchiffon

lemonchiffon

lemonchiffon.

§

Lightblue

lightblue

lightblue.

§

Lightcoral

lightcoral

lightcoral.

§

Lightcyan

lightcyan

lightcyan.

§

Lightgoldenrodyellow

lightgoldenrodyellow

lightgoldenrodyellow.

§

Lightgray

lightgray

lightgray.

§

Lightgreen

lightgreen

lightgreen.

§

Lightgrey

lightgrey

lightgrey.

§

Lightpink

lightpink

lightpink.

§

Lightsalmon

lightsalmon

lightsalmon.

§

Lightseagreen

lightseagreen

lightseagreen.

§

Lightskyblue

lightskyblue

lightskyblue.

§

Lightslategray

lightslategray

lightslategray.

§

Lightslategrey

lightslategrey

lightslategrey.

§

Lightsteelblue

lightsteelblue

lightsteelblue.

§

Lightyellow

lightyellow

lightyellow.

§

Lime

lime

lime.

§

Limegreen

limegreen

limegreen.

§

Linen

linen

linen.

§

Magenta

magenta

magenta.

§

Maroon

maroon

maroon.

§

Mediumaquamarine

mediumaquamarine

mediumaquamarine.

§

Mediumblue

mediumblue

mediumblue.

§

Mediumorchid

mediumorchid

mediumorchid.

§

Mediumpurple

mediumpurple

mediumpurple.

§

Mediumseagreen

mediumseagreen

mediumseagreen.

§

Mediumslateblue

mediumslateblue

mediumslateblue.

§

Mediumspringgreen

mediumspringgreen

mediumspringgreen.

§

Mediumturquoise

mediumturquoise

mediumturquoise.

§

Mediumvioletred

mediumvioletred

mediumvioletred.

§

Midnightblue

midnightblue

midnightblue.

§

Mintcream

mintcream

mintcream.

§

Mistyrose

mistyrose

mistyrose.

§

Moccasin

moccasin

moccasin.

§

Navajowhite

navajowhite

navajowhite.

§

Navy

navy

navy.

§

Oldlace

oldlace

oldlace.

§

Olive

olive

olive.

§

Olivedrab

olivedrab

olivedrab.

§

Orange

orange

orange.

§

Orangered

orangered

orangered.

§

Orchid

orchid

orchid.

§

Palegoldenrod

palegoldenrod

palegoldenrod.

§

Palegreen

palegreen

palegreen.

§

Paleturquoise

paleturquoise

paleturquoise.

§

Palevioletred

palevioletred

palevioletred.

§

Papayawhip

papayawhip

papayawhip.

§

Peachpuff

peachpuff

peachpuff.

§

Peru

peru

peru.

§

Pink

pink

pink.

§

Plum

plum

plum.

§

Powderblue

powderblue

powderblue.

§

Purple

purple

purple.

§

Rebeccapurple

rebeccapurple

rebeccapurple.

§

Red

red

red.

§

Rosybrown

rosybrown

rosybrown.

§

Royalblue

royalblue

royalblue.

§

Saddlebrown

saddlebrown

saddlebrown.

§

Salmon

salmon

salmon.

§

Sandybrown

sandybrown

sandybrown.

§

Seagreen

seagreen

seagreen.

§

Seashell

seashell

seashell.

§

Sienna

sienna

sienna.

§

Silver

silver

silver.

§

Skyblue

skyblue

skyblue.

§

Slateblue

slateblue

slateblue.

§

Slategray

slategray

slategray.

§

Slategrey

slategrey

slategrey.

§

Snow

snow

snow.

§

Springgreen

springgreen

springgreen.

§

Steelblue

steelblue

steelblue.

§

Tan

tan

tan.

§

Teal

teal

teal.

§

Thistle

thistle

thistle.

§

Tomato

tomato

tomato.

§

Turquoise

turquoise

turquoise.

§

Violet

violet

violet.

§

Wheat

wheat

wheat.

§

White

white

white.

§

Whitesmoke

whitesmoke

whitesmoke.

§

Yellow

yellow

yellow.

§

Yellowgreen

yellowgreen

yellowgreen.

§

_Custom(String)

Custom code value.

Trait Implementations§

Source§

impl AsRef<str> for ColorCodes

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for ColorCodes

Source§

fn clone(&self) -> ColorCodes

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ColorCodes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ColorCodes

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ColorCodes, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ColorCodes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl From<ColorCodes> for CodeableConcept

Source§

fn from(code: ColorCodes) -> CodeableConcept

Converts to this type from the input type.
Source§

impl From<ColorCodes> for Coding

Source§

fn from(code: ColorCodes) -> Coding

Converts to this type from the input type.
Source§

impl FromStr for ColorCodes

Source§

type Err = String

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<ColorCodes, <ColorCodes as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for ColorCodes

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for ColorCodes

Source§

fn eq(&self, other: &ColorCodes) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ColorCodes

Source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for ColorCodes

Source§

impl StructuralPartialEq for ColorCodes

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,