pub struct LinkedInNode {
pub id: String,
pub x: f64,
pub y: f64,
pub w: Option<f64>,
pub h: Option<f64>,
pub author: String,
pub body: String,
pub media: Vec<File>,
pub wire_path: Option<String>,
pub wire_mime: Option<String>,
}Fields§
§id: String§x: f64§y: f64§w: Option<f64>§h: Option<f64>§body: String§media: Vec<File>§wire_path: Option<String>§wire_mime: Option<String>Implementations§
Source§impl LinkedInNode
impl LinkedInNode
pub fn new(id: &str, x: f64, y: f64, author: &str, body: &str) -> LinkedInNode
pub fn clone(&self) -> LinkedInNode
pub fn to_json(&self) -> GraphNodeWire
pub fn from_json( json: &GraphNodeWire, files: Option<FileOrFiles>, ) -> LinkedInNode
Trait Implementations§
Source§impl Clone for LinkedInNode
impl Clone for LinkedInNode
Auto Trait Implementations§
impl Forget for LinkedInNode
impl Freeze for LinkedInNode
impl RefUnwindSafe for LinkedInNode
impl Send for LinkedInNode
impl Sync for LinkedInNode
impl Unpin for LinkedInNode
impl UnsafeUnpin for LinkedInNode
impl UnwindSafe for LinkedInNode
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