pub struct Field {
pub short: Option<bool>,
pub title: String,
pub value: String,
}Expand description
A structure representing a rocket chat field for attachments
Fields§
§short: Option<bool>Size of field (default false by rocket chat)
title: StringTitle of field
value: StringValue of field
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
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