pub struct StrategyBlockSection {
pub name: String,
pub order: Option<u32>,
pub max_length: Option<usize>,
}Expand description
A block definition within a strategy template.
Fields§
§name: StringBlock name (e.g., “identity”, “instructions”, “constraints”).
order: Option<u32>Assembly order — lower appears first.
max_length: Option<usize>Maximum character budget for this block.
Trait Implementations§
Source§impl Clone for StrategyBlockSection
impl Clone for StrategyBlockSection
Source§fn clone(&self) -> StrategyBlockSection
fn clone(&self) -> StrategyBlockSection
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 StrategyBlockSection
impl Debug for StrategyBlockSection
Source§impl Default for StrategyBlockSection
impl Default for StrategyBlockSection
Source§fn default() -> StrategyBlockSection
fn default() -> StrategyBlockSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StrategyBlockSectionwhere
StrategyBlockSection: Default,
impl<'de> Deserialize<'de> for StrategyBlockSectionwhere
StrategyBlockSection: Default,
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 StrategyBlockSection
impl RefUnwindSafe for StrategyBlockSection
impl Send for StrategyBlockSection
impl Sync for StrategyBlockSection
impl Unpin for StrategyBlockSection
impl UnsafeUnpin for StrategyBlockSection
impl UnwindSafe for StrategyBlockSection
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