pub struct GoogleCloudChannelV1PercentageAdjustment {
pub percentage: Option<GoogleTypeDecimal>,
}Expand description
An adjustment that applies a flat markup or markdown to an entire bill.
This type is not used in any activity, and only used as part of another schema.
Fields§
§percentage: Option<GoogleTypeDecimal>The percentage of the bill to adjust. For example: Mark down by 1% => “-1.00” Mark up by 1% => “1.00” Pass-Through => “0.00”
Trait Implementations§
Source§impl Clone for GoogleCloudChannelV1PercentageAdjustment
impl Clone for GoogleCloudChannelV1PercentageAdjustment
Source§fn clone(&self) -> GoogleCloudChannelV1PercentageAdjustment
fn clone(&self) -> GoogleCloudChannelV1PercentageAdjustment
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 Default for GoogleCloudChannelV1PercentageAdjustment
impl Default for GoogleCloudChannelV1PercentageAdjustment
Source§fn default() -> GoogleCloudChannelV1PercentageAdjustment
fn default() -> GoogleCloudChannelV1PercentageAdjustment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudChannelV1PercentageAdjustment
impl<'de> Deserialize<'de> for GoogleCloudChannelV1PercentageAdjustment
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
impl Part for GoogleCloudChannelV1PercentageAdjustment
Auto Trait Implementations§
impl Freeze for GoogleCloudChannelV1PercentageAdjustment
impl RefUnwindSafe for GoogleCloudChannelV1PercentageAdjustment
impl Send for GoogleCloudChannelV1PercentageAdjustment
impl Sync for GoogleCloudChannelV1PercentageAdjustment
impl Unpin for GoogleCloudChannelV1PercentageAdjustment
impl UnwindSafe for GoogleCloudChannelV1PercentageAdjustment
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