pub struct GraphEdge {
pub parent_field: String,
pub relation: String,
pub sub_graph: Option<Box<EntityGraph>>,
}Expand description
实体图边(关联关系)
Fields§
§parent_field: String父字段名
relation: String关联名(如 “posts”、“comments”)
sub_graph: Option<Box<EntityGraph>>嵌套子图(用于递归抓取)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnsafeUnpin for GraphEdge
impl UnwindSafe for GraphEdge
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