[−][src]Struct sfv::Item
Represents Item
type structured field value.
Can be used as a member of List
or Dictionary
.
Fields
bare_item: BareItem
Value of Item
.
params: Parameters
Item
's associated parameters. Can be empty.
Implementations
impl Item
[src]
pub fn new(bare_item: BareItem) -> Item
[src]
Returns new Item
with empty Parameters
.
pub fn with_params(bare_item: BareItem, params: Parameters) -> Item
[src]
Returns new Item
with specified Parameters
.
Trait Implementations
impl Clone for Item
[src]
impl Debug for Item
[src]
impl From<Item> for ListEntry
[src]
impl ParseValue for Item
[src]
impl PartialEq<Item> for Item
[src]
impl SerializeValue for Item
[src]
fn serialize_value(&self) -> Result<String, &'static str>
[src]
impl StructuralPartialEq for Item
[src]
Auto Trait Implementations
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,