pub(super) struct ClaimRequest {
pub agent_id: String,
pub agent_uid: String,
pub block_id: String,
pub kind: Option<String>,
pub groups: Vec<String>,
pub lease_ms: Option<i64>,
}Fields§
§agent_id: StringThe claiming agent’s id.
agent_uid: StringThe claiming agent’s UID, carried from its own AGENTMUX_AGENT_UID
(identity M1a). Optional: a pre-M1a spawn, a continuation resume, an
App Server agent or a quick-launch pane has none. Since M3 it decides
eligibility for UID-addressed items, and is written to
claimed_by_uid — since M4c-1 only when the claim is Unattributed;
an attributed claim uses its token’s UID instead. It is an assertion
like agent_id is — recorded, not trusted.
block_id: StringThe claimer’s block, carried from its AGENTMUX_BLOCKID. When no UID
was carried, the UID is taken from the row shown on this block — the
identity the block already has, never one derived from agent_id.
kind: Option<String>§groups: Vec<String>Group ids this agent belongs to. Resolved by the CALLER — group membership lives in the per-channel store, which the queue module deliberately does not reach into.
lease_ms: Option<i64>Trait Implementations§
Source§impl Debug for ClaimRequest
impl Debug for ClaimRequest
Source§impl<'de> Deserialize<'de> for ClaimRequest
impl<'de> Deserialize<'de> for ClaimRequest
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>,
Auto Trait Implementations§
impl Freeze for ClaimRequest
impl RefUnwindSafe for ClaimRequest
impl Send for ClaimRequest
impl Sync for ClaimRequest
impl Unpin for ClaimRequest
impl UnsafeUnpin for ClaimRequest
impl UnwindSafe for ClaimRequest
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
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<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