pub struct OpenClawFormationTemplate {
pub metadata: FormationTemplateMetadata,
pub max_extra_loops: u32,
}Expand description
Template for an open-claw formation shape.
Fields§
§metadata: FormationTemplateMetadata§max_extra_loops: u32Implementations§
Source§impl OpenClawFormationTemplate
impl OpenClawFormationTemplate
pub fn new(metadata: FormationTemplateMetadata, max_extra_loops: u32) -> Self
Trait Implementations§
Source§impl Clone for OpenClawFormationTemplate
impl Clone for OpenClawFormationTemplate
Source§fn clone(&self) -> OpenClawFormationTemplate
fn clone(&self) -> OpenClawFormationTemplate
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 OpenClawFormationTemplate
impl Debug for OpenClawFormationTemplate
Source§impl<'de> Deserialize<'de> for OpenClawFormationTemplate
impl<'de> Deserialize<'de> for OpenClawFormationTemplate
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 OpenClawFormationTemplate
impl RefUnwindSafe for OpenClawFormationTemplate
impl Send for OpenClawFormationTemplate
impl Sync for OpenClawFormationTemplate
impl Unpin for OpenClawFormationTemplate
impl UnsafeUnpin for OpenClawFormationTemplate
impl UnwindSafe for OpenClawFormationTemplate
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