pub struct PreservedRel {
pub id: String,
pub rel_type: String,
pub target: String,
pub external: bool,
}Expand description
A relationship from an owning part (the package root, the workbook or a sheet, or a kept part) to a kept part or to an external target.
Fields§
§id: StringThe id in the source file (rId7). Ids of an owner GridCraft writes are reassigned on save.
rel_type: StringThe full relationship type URI.
target: StringThe original part name of the target (no leading /), or the raw target of an external
relationship. External targets are never opened.
external: boolTrait Implementations§
Source§impl Clone for PreservedRel
impl Clone for PreservedRel
Source§fn clone(&self) -> PreservedRel
fn clone(&self) -> PreservedRel
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 PreservedRel
impl Debug for PreservedRel
Source§impl Default for PreservedRel
impl Default for PreservedRel
Source§fn default() -> PreservedRel
fn default() -> PreservedRel
Returns the “default value” for a type. Read more
impl Eq for PreservedRel
Source§impl PartialEq for PreservedRel
impl PartialEq for PreservedRel
impl StructuralPartialEq for PreservedRel
Auto Trait Implementations§
impl Freeze for PreservedRel
impl RefUnwindSafe for PreservedRel
impl Send for PreservedRel
impl Sync for PreservedRel
impl Unpin for PreservedRel
impl UnsafeUnpin for PreservedRel
impl UnwindSafe for PreservedRel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.