pub struct GraphBatch {
pub vertex_ids: Vec<Vec<u8>>,
pub vertex_attribute_values: Vec<Vec<Value>>,
pub edge_from_ids: Vec<Vec<u8>>,
pub edge_to_ids: Vec<Vec<u8>>,
pub edge_attribute_values: Vec<Vec<Value>>,
pub type_error_count: usize,
pub type_error_messages: Vec<String>,
}Expand description
A batch of graph data containing vertices and edges
Fields§
§vertex_ids: Vec<Vec<u8>>Vertex IDs as byte vectors
vertex_attribute_values: Vec<Vec<Value>>Vertex attributes, parallel to vertex_ids
edge_from_ids: Vec<Vec<u8>>Edge source IDs as byte vectors
edge_to_ids: Vec<Vec<u8>>Edge target IDs as byte vectors
edge_attribute_values: Vec<Vec<Value>>Edge attributes, parallel to edge_from_ids/edge_to_ids
type_error_count: usizeTotal number of type conversion errors encountered
type_error_messages: Vec<String>First few type error messages (up to 10)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphBatch
impl RefUnwindSafe for GraphBatch
impl Send for GraphBatch
impl Sync for GraphBatch
impl Unpin for GraphBatch
impl UnwindSafe for GraphBatch
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