Enum renga_api_rs::Category
source · pub enum Category {
DuctAccessory,
DuctFitting,
ElectricDistributionBoard,
Equipment,
LightingFixture,
MechanicalEquipment,
PipeAccessory,
PipeFitting,
PlumbingFixture,
WiringAccessory,
}Expand description
Project category entity types.
See Official documentation for details.
Variants§
DuctAccessory
Duct accessory category type.
DuctFitting
Duct fitting category type.
ElectricDistributionBoard
Electric distribution board category type.
Equipment
Equipment category type.
LightingFixture
Lighting fixture category type.
MechanicalEquipment
Mechanical equipment category type.
PipeAccessory
Pipe accessory category type.
PipeFitting
Pipe fitting category type.
PlumbingFixture
Plumbing fixture category type.
WiringAccessory
Wiring accessory category type.
Implementations§
source§impl Category
impl Category
sourcepub fn to_sanitized_string(&self) -> String
pub fn to_sanitized_string(&self) -> String
Returns sanitized string representation of the GUID.
- Braces are omitted.
- Hexadecimal digits are represented in upper case.
Example:
use renga_api_rs as renga;
assert_eq!(
renga::Category::ElectricDistributionBoard.to_sanitized_string(),
"D547F002-4A74-41BF-B1F0-ED8F5846098F"
);Trait Implementations§
source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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
source§impl Ord for Category
impl Ord for Category
source§impl PartialOrd for Category
impl PartialOrd for Category
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
source§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.