pub struct Tag {
pub uid: u32,
pub name: String,
pub total: i64,
pub split: i64,
pub seen: i64,
pub stored: i64,
pub sent: i64,
pub synced: i64,
pub address: String,
pub started_at: String,
}Expand description
A Swarm tag — tracks sync progress for an upload.
Fields§
§uid: u32Tag UID (Bee returns this as "uid" on the wire).
name: StringDisplay name.
total: i64Total chunks expected.
split: i64Chunks split.
seen: i64Chunks already known to Bee.
stored: i64Chunks stored locally.
sent: i64Chunks sent over the network.
synced: i64Chunks confirmed synced.
address: StringAddress (root reference of the upload).
started_at: StringTag start timestamp (RFC 3339).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tag
impl<'de> Deserialize<'de> for Tag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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