pub struct ChangeEntity<T: SessionTrait> { /* private fields */ }
Implementations§
Source§impl<T> ChangeEntity<T>where
T: SessionTrait,
impl<T> ChangeEntity<T>where
T: SessionTrait,
pub fn with_name(self, value: String255) -> Self
pub fn with_key(self, value: String255) -> Self
pub fn with_context(self, value: Context) -> Self
pub fn with_category(self, value: Category) -> Self
pub fn with_class(self, value: Class) -> Self
pub fn with_state(self, value: State) -> Self
Trait Implementations§
Source§impl IntoFuture for ChangeEntity<SessionAsync>
impl IntoFuture for ChangeEntity<SessionAsync>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<(), CallError>> + Send>>
Which kind of future are we turning this into?
Source§type Output = <<ChangeEntity<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<ChangeEntity<SessionAsync> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<T> Freeze for ChangeEntity<T>where
T: Freeze,
impl<T> RefUnwindSafe for ChangeEntity<T>where
T: RefUnwindSafe,
impl<T> Send for ChangeEntity<T>where
T: Send,
impl<T> Sync for ChangeEntity<T>where
T: Sync,
impl<T> Unpin for ChangeEntity<T>where
T: Unpin,
impl<T> UnwindSafe for ChangeEntity<T>where
T: 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