pub struct WellItem {
pub object: ObjectId,
pub s: f64,
pub d: f64,
pub side: Side,
pub head: [f64; 2],
pub path: Vec<[f64; 2]>,
pub md: Option<Vec<f64>>,
pub intervals: Vec<Interval>,
pub strata: Option<String>,
pub merged: Vec<ObjectId>,
}Expand description
A well, projected on a section.
Fields§
§object: ObjectIdThe object drawn (the frame when its wellbore has one).
s: f64Abscissa of the head’s projection.
d: f64Plan distance from the head to the section.
side: SideWhich side.
head: [f64; 2]The head, (s, z).
path: Vec<[f64; 2]>Each node, (s, z).
md: Option<Vec<f64>>The MD of each node, when known.
intervals: Vec<Interval>The strata intervals.
strata: Option<String>Why there are none, when there are none.
merged: Vec<ObjectId>The other objects of the same wellbore, folded into this line.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WellItem
impl<'de> Deserialize<'de> for WellItem
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 WellItem
Auto Trait Implementations§
impl Freeze for WellItem
impl RefUnwindSafe for WellItem
impl Send for WellItem
impl Sync for WellItem
impl Unpin for WellItem
impl UnsafeUnpin for WellItem
impl UnwindSafe for WellItem
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