pub struct HeaderField {
pub id: String,
pub type: String,
pub number: String,
pub description: String,
}Expand description
A VCF header field definition (INFO or FORMAT).
Fields§
§id: String§type: String§number: String§description: StringTrait Implementations§
Source§impl From<HeaderField> for HeaderField
impl From<HeaderField> for HeaderField
Source§fn from(f: HeaderField) -> Self
fn from(f: HeaderField) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for HeaderField
impl FromNapiValue for HeaderField
Source§unsafe fn from_napi_value(
env: napi_env,
napi_val: napi_value,
) -> Result<HeaderField>
unsafe fn from_napi_value( env: napi_env, napi_val: napi_value, ) -> Result<HeaderField>
Safety Read more
fn from_unknown(value: Unknown<'_>) -> Result<Self, Error>
Source§impl ToNapiValue for HeaderField
impl ToNapiValue for HeaderField
Source§unsafe fn to_napi_value(env: napi_env, val: HeaderField) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: HeaderField) -> Result<napi_value>
Safety Read more
fn into_unknown(self, env: &Env) -> Result<Unknown<'_>, Error>
Source§impl TypeName for HeaderField
impl TypeName for HeaderField
Auto Trait Implementations§
impl Freeze for HeaderField
impl RefUnwindSafe for HeaderField
impl Send for HeaderField
impl Sync for HeaderField
impl Unpin for HeaderField
impl UnwindSafe for HeaderField
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