pub struct CustomChannel {
pub active: Option<bool>,
pub display_name: Option<String>,
pub name: Option<String>,
pub reporting_dimension_id: Option<String>,
}Expand description
Representation of a custom channel.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- adclients customchannels create accounts (request|response)
- adclients customchannels get accounts (response)
- adclients customchannels patch accounts (request|response)
Fields§
§active: Option<bool>Whether the custom channel is active and collecting data. See https://support.google.com/adsense/answer/10077192.
display_name: Option<String>Required. Display name of the custom channel.
name: Option<String>Output only. Resource name of the custom channel. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}
reporting_dimension_id: Option<String>Output only. Unique ID of the custom channel as used in the CUSTOM_CHANNEL_ID reporting dimension.
Trait Implementations§
Source§impl Clone for CustomChannel
impl Clone for CustomChannel
Source§fn clone(&self) -> CustomChannel
fn clone(&self) -> CustomChannel
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 CustomChannel
impl Debug for CustomChannel
Source§impl Default for CustomChannel
impl Default for CustomChannel
Source§fn default() -> CustomChannel
fn default() -> CustomChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomChannel
impl<'de> Deserialize<'de> for CustomChannel
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 Serialize for CustomChannel
impl Serialize for CustomChannel
impl RequestValue for CustomChannel
impl ResponseResult for CustomChannel
Auto Trait Implementations§
impl Freeze for CustomChannel
impl RefUnwindSafe for CustomChannel
impl Send for CustomChannel
impl Sync for CustomChannel
impl Unpin for CustomChannel
impl UnwindSafe for CustomChannel
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