pub struct CloneCorticalAreaRequest {
pub source_area_id: String,
pub new_name: String,
pub coordinates_3d: [i32; 3],
pub coordinates_2d: [i32; 2],
pub parent_region_id: Option<String>,
pub clone_cortical_mapping: bool,
}Expand description
Request payload for POST /v1/cortical_area/clone
Fields§
§source_area_id: StringBase64 cortical area ID to clone.
new_name: StringNew cortical area name (display name).
coordinates_3d: [i32; 3]New 3D coordinates for placement.
coordinates_2d: [i32; 2]New 2D coordinates for visualization placement.
parent_region_id: Option<String>Target parent brain region ID to attach the clone under.
NOTE: FEAGI does NOT rely on the client for this value; it derives the parent from the source area’s membership. If provided and mismatched, FEAGI rejects the request.
clone_cortical_mapping: boolIf true, clones cortical mappings (incoming + outgoing) to reproduce wiring.
Trait Implementations§
Source§impl Clone for CloneCorticalAreaRequest
impl Clone for CloneCorticalAreaRequest
Source§fn clone(&self) -> CloneCorticalAreaRequest
fn clone(&self) -> CloneCorticalAreaRequest
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 CloneCorticalAreaRequest
impl Debug for CloneCorticalAreaRequest
Source§impl<'de> Deserialize<'de> for CloneCorticalAreaRequest
impl<'de> Deserialize<'de> for CloneCorticalAreaRequest
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 CloneCorticalAreaRequest
impl RefUnwindSafe for CloneCorticalAreaRequest
impl Send for CloneCorticalAreaRequest
impl Sync for CloneCorticalAreaRequest
impl Unpin for CloneCorticalAreaRequest
impl UnsafeUnpin for CloneCorticalAreaRequest
impl UnwindSafe for CloneCorticalAreaRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more