pub struct ForkSpec {
pub parent_timeline: String,
pub fork_tick: u64,
pub name: String,
pub visibility: ForkVisibilityLevel,
pub compute_cap_pct: u32,
pub ttl_ticks: u64,
}Expand description
Specification for creating a new timeline fork from a parent.
Fields§
§parent_timeline: String§fork_tick: u64§name: String§visibility: ForkVisibilityLevel§compute_cap_pct: u32Maximum compute budget as a percentage (0..=100).
ttl_ticks: u64Time-to-live in ticks. The fork expires at fork_tick + ttl_ticks.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForkSpec
impl<'de> Deserialize<'de> for ForkSpec
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
impl StructuralPartialEq for ForkSpec
Auto Trait Implementations§
impl Freeze for ForkSpec
impl RefUnwindSafe for ForkSpec
impl Send for ForkSpec
impl Sync for ForkSpec
impl Unpin for ForkSpec
impl UnsafeUnpin for ForkSpec
impl UnwindSafe for ForkSpec
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