pub struct NodeUpdate {
pub signature: Option<String>,
pub docstring: Option<String>,
pub body_hash: Option<String>,
pub body: Option<String>,
pub loc: Option<i32>,
pub cyclomatic_complexity: Option<i32>,
pub coverage_pct: Option<f64>,
}Expand description
Fields that can be updated on a CodeNode.
Fields§
§signature: Option<String>§docstring: Option<String>§body_hash: Option<String>§body: Option<String>§loc: Option<i32>§cyclomatic_complexity: Option<i32>§coverage_pct: Option<f64>Trait Implementations§
Source§impl Clone for NodeUpdate
impl Clone for NodeUpdate
Source§fn clone(&self) -> NodeUpdate
fn clone(&self) -> NodeUpdate
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 NodeUpdate
impl Debug for NodeUpdate
Source§impl Default for NodeUpdate
impl Default for NodeUpdate
Source§fn default() -> NodeUpdate
fn default() -> NodeUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeUpdate
impl RefUnwindSafe for NodeUpdate
impl Send for NodeUpdate
impl Sync for NodeUpdate
impl Unpin for NodeUpdate
impl UnsafeUnpin for NodeUpdate
impl UnwindSafe for NodeUpdate
Blanket Implementations§
impl<T> Allocation for T
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