pub struct AllocationOptions {
pub allocation_strategy: Option<String>,
pub first_available_ranges_lookup_size: Option<i32>,
}Expand description
Range auto-allocation options, to be optionally used when CIDR block is not explicitly set.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allocation_strategy: Option<String>Optional. Allocation strategy Not setting this field when the allocation is requested means an implementation defined strategy is used.
first_available_ranges_lookup_size: Option<i32>Optional. This field must be set only when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE. The value should be the maximum expected parallelism of range creation requests issued to the same space of peered netwroks.
Trait Implementations§
Source§impl Clone for AllocationOptions
impl Clone for AllocationOptions
Source§fn clone(&self) -> AllocationOptions
fn clone(&self) -> AllocationOptions
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 AllocationOptions
impl Debug for AllocationOptions
Source§impl Default for AllocationOptions
impl Default for AllocationOptions
Source§fn default() -> AllocationOptions
fn default() -> AllocationOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllocationOptions
impl<'de> Deserialize<'de> for AllocationOptions
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 AllocationOptions
impl Serialize for AllocationOptions
impl Part for AllocationOptions
Auto Trait Implementations§
impl Freeze for AllocationOptions
impl RefUnwindSafe for AllocationOptions
impl Send for AllocationOptions
impl Sync for AllocationOptions
impl Unpin for AllocationOptions
impl UnwindSafe for AllocationOptions
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