[][src]Struct lasrs::WellProp

pub struct WellProp {
    pub unit: String,
    pub description: String,
    pub value: String,
}

Wellprop represents an entry in every sections excluding ~O, ~A and ~V (other, data and version sections respectively)

Fields

unit: String

unit of measurement

description: String

entry description

value: String

entry value

Implementations

impl WellProp[src]

pub fn new(unit: &str, description: &str, value: &str) -> Self[src]

Returns a Wellprop

Arguments

  • unit - string slice
  • description - string slice
  • value - string slice

Example

use lasrs::WellProp;
let well_prop = WellProp::new("DEGC", "BOTTOM HOLE TEMPERATURE", "35.5000");
assert_eq!(well_prop.unit, "DEGC".to_owned());

Trait Implementations

impl Debug for WellProp[src]

impl PartialEq<WellProp> for WellProp[src]

impl StructuralPartialEq for WellProp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.