pub struct AccessibleBiddingStrategy {
pub resource_name: String,
pub id: i64,
pub name: String,
pub type: i32,
pub owner_customer_id: i64,
pub owner_descriptive_name: String,
pub scheme: Option<Scheme>,
}
Expand description
Represents a view of BiddingStrategies owned by and shared with the customer.
In contrast to BiddingStrategy, this resource includes strategies owned by managers of the customer and shared with this customer - in addition to strategies owned by this customer. This resource does not provide metrics and only exposes a limited subset of the BiddingStrategy attributes.
Fields§
§resource_name: String
Output only. The resource name of the accessible bidding strategy. AccessibleBiddingStrategy resource names have the form:
customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}
id: i64
Output only. The ID of the bidding strategy.
name: String
Output only. The name of the bidding strategy.
type: i32
Output only. The type of the bidding strategy.
owner_customer_id: i64
Output only. The ID of the Customer which owns the bidding strategy.
owner_descriptive_name: String
Output only. descriptive_name of the Customer which owns the bidding strategy.
scheme: Option<Scheme>
The bidding scheme.
Only one can be set.
Implementations§
Source§impl AccessibleBiddingStrategy
impl AccessibleBiddingStrategy
Sourcepub fn type(&self) -> BiddingStrategyType
pub fn type(&self) -> BiddingStrategyType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_type(&mut self, value: BiddingStrategyType)
pub fn set_type(&mut self, value: BiddingStrategyType)
Sets type
to the provided enum value.
Trait Implementations§
Source§impl Clone for AccessibleBiddingStrategy
impl Clone for AccessibleBiddingStrategy
Source§fn clone(&self) -> AccessibleBiddingStrategy
fn clone(&self) -> AccessibleBiddingStrategy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccessibleBiddingStrategy
impl Debug for AccessibleBiddingStrategy
Source§impl Default for AccessibleBiddingStrategy
impl Default for AccessibleBiddingStrategy
Source§impl Message for AccessibleBiddingStrategy
impl Message for AccessibleBiddingStrategy
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for AccessibleBiddingStrategy
Auto Trait Implementations§
impl Freeze for AccessibleBiddingStrategy
impl RefUnwindSafe for AccessibleBiddingStrategy
impl Send for AccessibleBiddingStrategy
impl Sync for AccessibleBiddingStrategy
impl Unpin for AccessibleBiddingStrategy
impl UnwindSafe for AccessibleBiddingStrategy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request