pub struct PageContext {
pub path: String,
pub method: String,
pub origin: String,
}Expand description
The page a component was rendered from.
Fields§
§path: StringThe path the page was requested at, such as /livewire/counter.
method: StringThe method it was requested with.
origin: StringThe origin it was requested from.
Trait Implementations§
Source§impl Clone for PageContext
impl Clone for PageContext
Source§impl Debug for PageContext
impl Debug for PageContext
impl Eq for PageContext
Source§impl PartialEq for PageContext
impl PartialEq for PageContext
impl StructuralPartialEq for PageContext
Auto Trait Implementations§
impl Forget for PageContext
impl Freeze for PageContext
impl Move for PageContext
impl RefUnwindSafe for PageContext
impl Send for PageContextwhere
RawVecInner: Send,
impl Sync for PageContextwhere
RawVecInner: Sync,
impl Unpin for PageContext
impl UnsafeUnpin for PageContext
impl UnwindSafe for PageContextwhere
RawVecInner: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.