Struct gix_object::Tree
source · pub struct Tree {
pub entries: Vec<Entry>,
}Expand description
A mutable Tree, containing other trees, blobs or commits.
Fields§
§entries: Vec<Entry>The directories and files contained in this tree. They must be and remain sorted by filename.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tree
impl<'de> Deserialize<'de> for Tree
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Tree
impl Ord for Tree
source§impl PartialEq<Tree> for Tree
impl PartialEq<Tree> for Tree
source§impl PartialOrd<Tree> for Tree
impl PartialOrd<Tree> for Tree
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl WriteTo for Tree
impl WriteTo for Tree
Serialization