pub struct ProfileSummary {
pub id: String,
pub name: Option<String>,
pub profile_type: Option<String>,
pub profile_state: Option<String>,
pub platform: Option<String>,
pub uuid: Option<String>,
pub created_date: Option<String>,
pub expiration_date: Option<String>,
pub expired: Option<bool>,
pub bundle_id: Option<String>,
pub bundle_identifier: Option<String>,
}Expand description
A profile as reported to callers.
Note what is missing: profileContent. It is the multi-kilobyte binary
profile, it is never needed to decide what to do next, and keeping it
out means a tool result can never carry one into a model’s context.
profiles download writes it to a path instead, the same bargain
crate::certificates::IssuedCertificate makes for key material.
Fields§
§id: String§name: Option<String>§profile_type: Option<String>§profile_state: Option<String>§platform: Option<String>§uuid: Option<String>The UUID inside the profile, which is what codesign and Xcode
diagnostics quote. Different from id.
created_date: Option<String>§expiration_date: Option<String>§expired: Option<bool>Computed locally: App Store Connect offers no filter for it, and a
profile can also be unusable while unexpired if its certificate was
revoked — check profile_state for that case.
bundle_id: Option<String>The bundle ID’s resource id, set only when the caller asked for it
(profiles list --with-bundle-id), since it costs a request per
profile.
bundle_identifier: Option<String>The bundle identifier itself, e.g. ai.splitfire.SplitfireAI. Set
alongside bundle_id.
Implementations§
Source§impl ProfileSummary
impl ProfileSummary
pub fn from_resource(profile: &Profile, now: &str) -> Self
Trait Implementations§
Source§impl Clone for ProfileSummary
impl Clone for ProfileSummary
Source§impl Debug for ProfileSummary
impl Debug for ProfileSummary
Source§impl JsonSchema for ProfileSummary
impl JsonSchema for ProfileSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more