pub struct Serviceusagetype {
pub product_id: Option<String>,
pub name: Option<String>,
}
Fields§
§product_id: Option<String>
The product identifier associated with the usage type. This corresponds to a Fastly product offering.
name: Option<String>
Full name of the product usage type as it might appear on a customer’s invoice.
Implementations§
Source§impl Serviceusagetype
impl Serviceusagetype
pub fn new() -> Serviceusagetype
Trait Implementations§
Source§impl Clone for Serviceusagetype
impl Clone for Serviceusagetype
Source§fn clone(&self) -> Serviceusagetype
fn clone(&self) -> Serviceusagetype
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 Serviceusagetype
impl Debug for Serviceusagetype
Source§impl Default for Serviceusagetype
impl Default for Serviceusagetype
Source§fn default() -> Serviceusagetype
fn default() -> Serviceusagetype
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Serviceusagetype
impl<'de> Deserialize<'de> for Serviceusagetype
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 PartialEq for Serviceusagetype
impl PartialEq for Serviceusagetype
Source§impl Serialize for Serviceusagetype
impl Serialize for Serviceusagetype
impl StructuralPartialEq for Serviceusagetype
Auto Trait Implementations§
impl Freeze for Serviceusagetype
impl RefUnwindSafe for Serviceusagetype
impl Send for Serviceusagetype
impl Sync for Serviceusagetype
impl Unpin for Serviceusagetype
impl UnwindSafe for Serviceusagetype
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