pub enum ContentOrContract {
Content(Content),
Contract(Box<Contract>),
}Expand description
Content | Contract in the TypeScript SDK.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Forget for ContentOrContract
impl Freeze for ContentOrContract
impl Move for ContentOrContract
impl RefUnwindSafe for ContentOrContractwhere
NonZero<i32>: RefUnwindSafe,
Utc: RefUnwindSafe,
Atomic<usize>: RefUnwindSafe,
Chan<Message, Semaphore>: RefUnwindSafe,
Mutex<Vec<Presence>>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<Vec<String>>: RefUnwindSafe,
Mutex<HashMap<String, Agent>>: RefUnwindSafe,
Mutex<Vec<Agent>>: RefUnwindSafe,
impl Send for ContentOrContract
impl Sync for ContentOrContract
impl Unpin for ContentOrContract
impl UnsafeUnpin for ContentOrContractwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Part>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const Contract is !null: UnsafeUnpin,
PhantomData<Contract>: UnsafeUnpin,
impl UnwindSafe for ContentOrContractwhere
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<Contract>: UnwindSafe,
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