pub struct DescribeMetadataObject {
pub xml_name: String,
pub directory_name: Option<String>,
pub suffix: Option<String>,
pub in_folder: bool,
pub meta_file: bool,
pub child_xml_names: Vec<String>,
}Expand description
Descriptor for one metadata type, returned inside
DescribeMetadataResult::metadata_objects.
This is the source of truth for package.xml <types><name> values
and for zip directory layout — xml_name is what goes in the
manifest, directory_name is what the zip folder is called.
Fields§
§xml_name: StringComponent name as it appears in package.xml (and in
<types><name>).
directory_name: Option<String>Top-level directory inside the deploy zip for components of this type.
suffix: Option<String>File extension (without the leading dot) for component files.
None for types whose components live entirely inside a
-meta.xml file with no companion data file.
in_folder: boolWhether components of this type live in a folder (Dashboard / Document / EmailTemplate / Report).
meta_file: boolWhether components of this type require a companion
-meta.xml file alongside the source file (ApexClass,
Document, etc.).
child_xml_names: Vec<String>Names of child sub-component types (e.g. CustomField is a
child of CustomObject). Useful for crawling a metadata graph.
Trait Implementations§
Source§impl Clone for DescribeMetadataObject
impl Clone for DescribeMetadataObject
Source§fn clone(&self) -> DescribeMetadataObject
fn clone(&self) -> DescribeMetadataObject
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more