pub struct CustomBiddingScript {
pub active: Option<bool>,
pub create_time: Option<DateTime<Utc>>,
pub custom_bidding_algorithm_id: Option<i64>,
pub custom_bidding_script_id: Option<i64>,
pub errors: Option<Vec<ScriptError>>,
pub name: Option<String>,
pub script: Option<CustomBiddingScriptRef>,
pub state: Option<String>,
}
Expand description
A single custom bidding script.
§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).
- scripts create custom bidding algorithms (request|response)
- scripts get custom bidding algorithms (response)
Fields§
§active: Option<bool>
Output only. Whether the script is currently being used for scoring by the parent algorithm.
create_time: Option<DateTime<Utc>>
Output only. The time when the script was created.
custom_bidding_algorithm_id: Option<i64>
Output only. The unique ID of the custom bidding algorithm the script belongs to.
custom_bidding_script_id: Option<i64>
Output only. The unique ID of the custom bidding script.
errors: Option<Vec<ScriptError>>
Output only. Error details of a rejected custom bidding script. This field will only be populated when state is REJECTED.
name: Option<String>
Output only. The resource name of the custom bidding script.
script: Option<CustomBiddingScriptRef>
The reference to the uploaded script file.
state: Option<String>
Output only. The state of the custom bidding script.
Trait Implementations§
Source§impl Clone for CustomBiddingScript
impl Clone for CustomBiddingScript
Source§fn clone(&self) -> CustomBiddingScript
fn clone(&self) -> CustomBiddingScript
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CustomBiddingScript
impl Debug for CustomBiddingScript
Source§impl Default for CustomBiddingScript
impl Default for CustomBiddingScript
Source§fn default() -> CustomBiddingScript
fn default() -> CustomBiddingScript
Source§impl<'de> Deserialize<'de> for CustomBiddingScript
impl<'de> Deserialize<'de> for CustomBiddingScript
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>,
Source§impl Serialize for CustomBiddingScript
impl Serialize for CustomBiddingScript
impl RequestValue for CustomBiddingScript
impl ResponseResult for CustomBiddingScript
Auto Trait Implementations§
impl Freeze for CustomBiddingScript
impl RefUnwindSafe for CustomBiddingScript
impl Send for CustomBiddingScript
impl Sync for CustomBiddingScript
impl Unpin for CustomBiddingScript
impl UnwindSafe for CustomBiddingScript
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more