Struct graphannis::update::GraphUpdate [−][src]
pub struct GraphUpdate { /* fields omitted */ }
Expand description
A list of changes to apply to an graph.
Implementations
Create a new empty list of updates.
Add the given event to the update list.
Get all changes
Returns true
if the update list is empty.
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<D>(
deserializer: D
) -> Result<GraphUpdate, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<GraphUpdate, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more