pub struct OutboundData { /* private fields */ }
Implementations§
Source§impl OutboundData
impl OutboundData
Sourcepub fn property<P: Into<String>, C: Into<String>>(
self,
property: P,
content: C,
) -> OutboundData
pub fn property<P: Into<String>, C: Into<String>>( self, property: P, content: C, ) -> OutboundData
Sets the content of specified property, it will create a new property if it doesn’t already exists
pub fn page<P: Into<String>, C: Into<String>>( self, property: P, content: C, ) -> OutboundData
👎Deprecated since 0.1.4: Please use property() instead of page(), this name can be confusing.
Trait Implementations§
Source§impl Default for OutboundData
impl Default for OutboundData
Source§fn default() -> OutboundData
fn default() -> OutboundData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OutboundData
impl RefUnwindSafe for OutboundData
impl Send for OutboundData
impl Sync for OutboundData
impl Unpin for OutboundData
impl UnwindSafe for OutboundData
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