pub struct PortalPreview {
pub title: String,
pub sky: SkyNav,
pub veils: usize,
pub manifest_text: String,
pub asset_base: PathBuf,
pub asset_base_url: Option<String>,
pub presence_relays: Vec<String>,
pub world_id: String,
}Expand description
What’s on the far side of a veil — its title, sky, and how many veils lead
onward. Fetched live as the player approaches (see Navigator::portal_preview).
Fields§
§title: String§sky: SkyNav§veils: usizeNumber of veils in the destination world.
manifest_text: StringThe destination’s raw manifest text — enough for a browser to render a true window into the far side (a snapshot from its spawn).
asset_base: PathBufWhere the destination’s relative assets resolve (local base + optional
hosted base URL) — mirrors crate::resolver::TravelResult.
asset_base_url: Option<String>§presence_relays: Vec<String>The far side’s presence relays + room key — enough for a browser to listen at the threshold and show WHO IS THERE through the window.
world_id: StringTrait Implementations§
Source§impl Clone for PortalPreview
impl Clone for PortalPreview
Auto Trait Implementations§
impl Freeze for PortalPreview
impl RefUnwindSafe for PortalPreview
impl Send for PortalPreview
impl Sync for PortalPreview
impl Unpin for PortalPreview
impl UnsafeUnpin for PortalPreview
impl UnwindSafe for PortalPreview
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