pub struct RolloutFile {
pub rollout: RolloutPolicy,
}Expand description
Top-level wrapper when reading .yubaba/rollout.toml from disk.
TOML files have a [rollout] section; when the policy is inlined in JSON
(e.g. in the POST /v1/rollouts request body), use RolloutPolicy directly.
Fields§
§rollout: RolloutPolicyTrait Implementations§
Source§impl Clone for RolloutFile
impl Clone for RolloutFile
Source§fn clone(&self) -> RolloutFile
fn clone(&self) -> RolloutFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RolloutFile
impl Debug for RolloutFile
Source§impl<'de> Deserialize<'de> for RolloutFile
impl<'de> Deserialize<'de> for RolloutFile
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
Auto Trait Implementations§
impl Freeze for RolloutFile
impl RefUnwindSafe for RolloutFile
impl Send for RolloutFile
impl Sync for RolloutFile
impl Unpin for RolloutFile
impl UnsafeUnpin for RolloutFile
impl UnwindSafe for RolloutFile
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