pub struct ProposalRequest {
pub request_id: String,
pub proposal_id: String,
pub request_digest: String,
pub requested_mode: AdaptiveMode,
pub candidate_params: Option<BTreeMap<String, f64>>,
}Expand description
Input to propose a bounded policy update under a caller-supplied idempotency key.
Fields§
§request_id: StringStable idempotency identifier for this API request.
proposal_id: StringStable identifier for the candidate proposal if one is created.
request_digest: StringCanonical digest of the request payload used to detect conflicting retries.
requested_mode: AdaptiveModeMode requested by the host for this call.
candidate_params: Option<BTreeMap<String, f64>>Complete candidate parameters proposed for the next version (if any).
Trait Implementations§
Source§impl Clone for ProposalRequest
impl Clone for ProposalRequest
Source§impl Debug for ProposalRequest
impl Debug for ProposalRequest
Source§impl<'de> Deserialize<'de> for ProposalRequest
impl<'de> Deserialize<'de> for ProposalRequest
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 ProposalRequest
impl PartialEq for ProposalRequest
Source§impl Serialize for ProposalRequest
impl Serialize for ProposalRequest
impl StructuralPartialEq for ProposalRequest
Auto Trait Implementations§
impl Forget for ProposalRequest
impl Freeze for ProposalRequest
impl Move for ProposalRequest
impl RefUnwindSafe for ProposalRequest
impl Send for ProposalRequest
impl Sync for ProposalRequest
impl Unpin for ProposalRequest
impl UnsafeUnpin for ProposalRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
impl UnwindSafe for ProposalRequest
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