UpdateView

Trait UpdateView 

Source
pub trait UpdateView {
    type UpdateViewType: CandidType + Default;

    // Provided method
    fn merge(&mut self, _: Self::UpdateViewType) { ... }
}
Expand description

UpdateView

Required Associated Types§

Provided Methods§

Source

fn merge(&mut self, _: Self::UpdateViewType)

merge the updateview into self

Implementations on Foreign Types§

Source§

impl UpdateView for bool

Source§

type UpdateViewType = bool

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for i8

Source§

type UpdateViewType = i8

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for i16

Source§

type UpdateViewType = i16

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for i32

Source§

type UpdateViewType = i32

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for i64

Source§

type UpdateViewType = i64

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for u8

Source§

type UpdateViewType = u8

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for u16

Source§

type UpdateViewType = u16

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for u32

Source§

type UpdateViewType = u32

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for u64

Source§

type UpdateViewType = u64

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl UpdateView for String

Source§

type UpdateViewType = String

Source§

fn merge(&mut self, update: Self::UpdateViewType)

Source§

impl<K, V, S> UpdateView for HashMap<K, V, S>

Source§

impl<T> UpdateView for Option<T>
where T: UpdateView + Default,

Source§

impl<T> UpdateView for Vec<T>
where T: UpdateView + Default,

Source§

impl<T, S> UpdateView for HashSet<T, S>

Implementors§