pub struct PlacedContainerView {Show 13 fields
pub id: String,
pub template_id: String,
pub display_name: String,
pub x: f32,
pub y: f32,
pub z: f32,
pub locked: bool,
pub accessible: bool,
pub owner_character_id: Option<Uuid>,
pub contents: Vec<ItemStack>,
pub lock_id: Option<String>,
pub capacity_volume: Option<f32>,
pub item_instance_id: Option<Uuid>,
}Expand description
AOI view of a placeable chest on the map.
Fields§
§id: String§template_id: String§display_name: String§x: f32§y: f32§z: f32§locked: bool§accessible: boolObserver can open (unlocked, or holds matching key).
owner_character_id: Option<Uuid>§contents: Vec<ItemStack>Nested contents when accessible (empty when locked without key).
lock_id: Option<String>Lock id for matching container_key props (opens_lock_id).
capacity_volume: Option<f32>Internal storage capacity (liters) from item catalog.
item_instance_id: Option<Uuid>Container instance id (for MoveItem parent targeting).
Trait Implementations§
Source§impl Clone for PlacedContainerView
impl Clone for PlacedContainerView
Source§fn clone(&self) -> PlacedContainerView
fn clone(&self) -> PlacedContainerView
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 moreSource§impl Debug for PlacedContainerView
impl Debug for PlacedContainerView
Source§impl<'de> Deserialize<'de> for PlacedContainerView
impl<'de> Deserialize<'de> for PlacedContainerView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlacedContainerView
impl PartialEq for PlacedContainerView
Source§impl Serialize for PlacedContainerView
impl Serialize for PlacedContainerView
impl StructuralPartialEq for PlacedContainerView
Auto Trait Implementations§
impl Freeze for PlacedContainerView
impl RefUnwindSafe for PlacedContainerView
impl Send for PlacedContainerView
impl Sync for PlacedContainerView
impl Unpin for PlacedContainerView
impl UnsafeUnpin for PlacedContainerView
impl UnwindSafe for PlacedContainerView
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