pub struct WriteLinks {
pub source: String,
pub targets: Vec<Location>,
pub degraded: Vec<Value>,
}Expand description
一个写计划的链路解析结果。
Fields§
§source: String主链路 source
targets: Vec<Location>写目标落点(去重、主链路在首位)
degraded: Vec<Value>降级声明(形如 code = writePrimaryOnly)
Trait Implementations§
Source§impl Clone for WriteLinks
impl Clone for WriteLinks
Auto Trait Implementations§
impl Freeze for WriteLinks
impl RefUnwindSafe for WriteLinks
impl Send for WriteLinks
impl Sync for WriteLinks
impl Unpin for WriteLinks
impl UnsafeUnpin for WriteLinks
impl UnwindSafe for WriteLinks
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