pub struct RoomPatchAst {
pub name: Option<String>,
pub desc: Option<String>,
pub remove_exits: Vec<String>,
pub add_exits: Vec<RoomExitPatchAst>,
}Expand description
Data patch applied to a room when executing a modify room action.
Fields§
§name: Option<String>§desc: Option<String>§remove_exits: Vec<String>§add_exits: Vec<RoomExitPatchAst>Trait Implementations§
Source§impl Clone for RoomPatchAst
impl Clone for RoomPatchAst
Source§fn clone(&self) -> RoomPatchAst
fn clone(&self) -> RoomPatchAst
Returns a duplicate of the value. Read more
1.0.0 · 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 RoomPatchAst
impl Debug for RoomPatchAst
Source§impl Default for RoomPatchAst
impl Default for RoomPatchAst
Source§fn default() -> RoomPatchAst
fn default() -> RoomPatchAst
Returns the “default value” for a type. Read more
Source§impl PartialEq for RoomPatchAst
impl PartialEq for RoomPatchAst
impl StructuralPartialEq for RoomPatchAst
Auto Trait Implementations§
impl Freeze for RoomPatchAst
impl RefUnwindSafe for RoomPatchAst
impl Send for RoomPatchAst
impl Sync for RoomPatchAst
impl Unpin for RoomPatchAst
impl UnwindSafe for RoomPatchAst
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