pub struct ProductRefOrValue {
pub id: Option<String>,
pub href: Option<String>,
pub description: Option<String>,
pub is_bundle: Option<bool>,
pub is_customer_visible: Option<bool>,
pub name: String,
pub product_serial_number: Option<String>,
pub status: Option<ProductStatusType>,
pub product_specification: Option<ProductSpecificationRef>,
pub place: Option<Vec<RelatedPlaceRefOrValue>>,
pub related_party: Option<Vec<RelatedParty>>,
pub billing_account: Option<BillingAccountRef>,
/* private fields */
}
Expand description
Quote Item Product
Fields§
§id: Option<String>
Unique Id
href: Option<String>
HTTP Reference
description: Option<String>
Product Description (from TMF620)
is_bundle: Option<bool>
Is this a bundle (from TMF620)
is_customer_visible: Option<bool>
Is this customer visible (from TMF620)
name: String
Product Name
product_serial_number: Option<String>
Product serial number (if known)
status: Option<ProductStatusType>
Status of product
product_specification: Option<ProductSpecificationRef>
Product Specification (TMF620)
place: Option<Vec<RelatedPlaceRefOrValue>>
Site data for this Quote Item
Related Parties for this Quote Item
billing_account: Option<BillingAccountRef>
Billing account for this product
Trait Implementations§
Source§impl Clone for ProductRefOrValue
impl Clone for ProductRefOrValue
Source§fn clone(&self) -> ProductRefOrValue
fn clone(&self) -> ProductRefOrValue
Returns a duplicate 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 ProductRefOrValue
impl Debug for ProductRefOrValue
Source§impl Default for ProductRefOrValue
impl Default for ProductRefOrValue
Source§fn default() -> ProductRefOrValue
fn default() -> ProductRefOrValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductRefOrValue
impl<'de> Deserialize<'de> for ProductRefOrValue
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 HasDescription for ProductRefOrValue
impl HasDescription for ProductRefOrValue
Source§fn description(self, description: impl Into<String>) -> Self
fn description(self, description: impl Into<String>) -> Self
Builder pattern function to set the description on object creation
Source§fn get_description(&self) -> String
fn get_description(&self) -> String
Get the description by cloning it if set, returns empty string otherwise.
Auto Trait Implementations§
impl Freeze for ProductRefOrValue
impl RefUnwindSafe for ProductRefOrValue
impl Send for ProductRefOrValue
impl Sync for ProductRefOrValue
impl Unpin for ProductRefOrValue
impl UnwindSafe for ProductRefOrValue
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