pub struct OfferSummary {Show 18 fields
pub move_id: String,
pub attempt: u32,
pub manifest_hash: String,
pub total_bytes: u64,
pub total_chunks: u64,
pub agent_uid: String,
pub agent_name: String,
pub runtime: String,
pub requester: String,
pub asker_kind: String,
pub operator: String,
pub contents: Vec<String>,
pub source_install: String,
pub dest_install: String,
pub issued_at_ms: i64,
pub sealed_key: String,
pub route: Option<RouteRef>,
pub harness: String,
}Expand description
What an offer says, signed by the source install.
Fields§
§move_id: String§attempt: u32§manifest_hash: StringThe hash of the manifest inside the archive; the archive’s own manifest must hash to it.
total_bytes: u64The size of the archive file, and the chunks it is sent in.
total_chunks: u64§agent_uid: String§agent_name: String§runtime: Stringnative or container: where the agent would run.
requester: StringWho asked for the move, as the source authenticated it, and whether that was an agent or a person.
asker_kind: String§operator: StringThe agent whose key signs this move’s operations at the destination (chunk, status, abort): the offer is
taken only from that agent, so another agent of the same install cannot file it as its own.
contents: Vec<String>What is carried, one short line each (shown to the person deciding).
source_install: String§dest_install: String§issued_at_ms: i64§sealed_key: StringThe move’s content key, sealed to the destination’s box key.
route: Option<RouteRef>The paid model route the agent runs on, when it has one.
harness: StringThe harness (its provider id) the agent runs on: the destination checks its CLI is, or can be, there before it asks the person.
Trait Implementations§
Source§impl Clone for OfferSummary
impl Clone for OfferSummary
Source§fn clone(&self) -> OfferSummary
fn clone(&self) -> OfferSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OfferSummary
impl Debug for OfferSummary
Source§impl<'de> Deserialize<'de> for OfferSummary
impl<'de> Deserialize<'de> for OfferSummary
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>,
impl Eq for OfferSummary
Source§impl PartialEq for OfferSummary
impl PartialEq for OfferSummary
Source§impl Serialize for OfferSummary
impl Serialize for OfferSummary
impl StructuralPartialEq for OfferSummary
Auto Trait Implementations§
impl Freeze for OfferSummary
impl RefUnwindSafe for OfferSummary
impl Send for OfferSummary
impl Sync for OfferSummary
impl Unpin for OfferSummary
impl UnsafeUnpin for OfferSummary
impl UnwindSafe for OfferSummary
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more