pub struct AgentTreasuryView {
pub object_id: ObjectId,
pub launchpad_account_id: ObjectId,
pub owner_cap_id: ObjectId,
pub active_operator_cap_ids: Vec<ObjectId>,
pub sui_balance: u64,
pub token_balance: u64,
}Expand description
Strongly-typed mirror of tai::agent_treasury::AgentTreasury<T>.
Fields§
§object_id: ObjectIdOn-chain object id.
launchpad_account_id: ObjectIdLinked LaunchpadAccount
owner_cap_id: ObjectIdOwnerCap
active_operator_cap_ids: Vec<ObjectId>Currently-active OperatorCap ids (revoked caps are removed).
sui_balance: u64SUI working capital.
token_balance: u64Token working capital (in T).
Implementations§
Trait Implementations§
Source§impl Clone for AgentTreasuryView
impl Clone for AgentTreasuryView
Source§fn clone(&self) -> AgentTreasuryView
fn clone(&self) -> AgentTreasuryView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentTreasuryView
impl RefUnwindSafe for AgentTreasuryView
impl Send for AgentTreasuryView
impl Sync for AgentTreasuryView
impl Unpin for AgentTreasuryView
impl UnsafeUnpin for AgentTreasuryView
impl UnwindSafe for AgentTreasuryView
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